Login Enquiry |
[eluser]hrg.vincent[/eluser]
I've 2 web application by using CodeIgniter. Between this 2 web application, there is only 1 login from A, then from A have 1 button link to B. But I do not want the users login again and all the users information will pass to B web. Is it possible? Thanks.
[eluser]jairoh_[/eluser]
two separate sites? i don't think that proper but you can try using ajax. from site A ajax to site B controller function that receives.
[eluser]hrg.vincent[/eluser]
yes. 2 is seperate site. mean possible to do that? or can I just pass the login detail from A to B?
[eluser]jairoh_[/eluser]
[quote author="hrg.vincent" date="1382402870"]yes. 2 is seperate site. mean possible to do that? or can I just pass the login detail from A to B? [/quote] yes, do not pass in the url but use ajax.
[eluser]Otemu[/eluser]
Hi, You could post directly to the form from site A and if it fails/pass have a redirect back to SiteA with error/success message: action="http://www.siteb.com/logmein" method="post" Use Ajax like "jairoh_" said, here a example If you need shared authentication for both SiteA and SiteB then might be more tricky., but let me know and I see what I can come up with Hope that helps |
Welcome Guest, Not a member yet? Register Sign In |