On 9/14/07, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> The issue with lost sessions often comes down to the SessionComponent
> being quite strict, and destroying the session if the user agent
> changes.  Of course, the user agent shouldn't really change, but with
> Ajax calls and whatnot it can happen.


This is not restricted to CakePHP
http://www.google.com/search?q=session+values+lost+after+redirect

It mostly boils down to PHP not being able to write the data before
the redirect and exit()  takes place. I don't know what is more
important - the redirect happening or the exit being called. Happens
more often in DB bases sessions.

In the worst case we had to abandon the use of header(Location: )


HTH

T

-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to