Action-3 wrote:
>
>
> I recently switched web hosts and this problem arose:
>
> I have a login form. If the login info is correct, it creates a
> session and redirects you to an admin page. The admin page checks if
> the session is set and redirects you back to the login page if it is
> not.
>
> This worked fine on my old host, but on my new host the session info
> is lost once I redirect to the admin page after logging in (which
> redirects you back to to the login page because the session is gone).
>
> How can I fix this?
>
> Thanks!
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "Cake PHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>
>
--
View this message in context:
http://old.nabble.com/Session-lost-after-redirect-tp15906969p26754003.html
Sent from the CakePHP mailing list archive at Nabble.com.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en