Log into restricted area of external site

Asked

Viewed 275 times

1

Hello. I have a site with login form and I want the user to be redirected to the restricted area of another site, which was made using Cakephp

  • could explain the purpose of this ? you want an iframe or want to redirect the user by logging into the other site ?

  • I have an old site made in wordpress with a restricted area made with cakephp. I created a new site, which has a login form and would like to redirect the user to the restricted area of the old site right from this form.

  • change the value of the action attribute of the tag form, the url of the restricted area of your blog, use the same names of the post parameters, if you could not understand, put here your form and the script of your restricted area.

  • This question is too broad, could you be clearer about how your software actually works? No use sticking a lot of code without explaining okay? Please read these links for a good question and then EDIT your question: http://answall.com/help/how-to-ask http://answall.com/help/mcve :)

1 answer

0

Following Lucas Soares' suggestion (setting the form action as the Cakephp action) may not work if they are on different servers if these servers do not allow external iteration (which is seen as insecure).

My suggestion is that you use the cookie generated by cake to identify the session and generate it on your system.

  • So. I can’t find Cakephp’s action. I actually thought it was kind of bizarre to use cakephp for the restricted area, but anyway. They’re on different servers. I backed up the old site with the restricted area of cake and put in the server folder of the new site but still not working..

Browser other questions tagged

You are not signed in. Login or sign up in order to post.