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.
To test, comment out the lines
if (function_exists('ini_set')) {
ini_set('session.referer_check',
$this->host);
}
and
if ($this->_userAgent ==
$this->read("Config.userAgent") && $this-
>time <= $this->read("Config.time")) {
from your /cake/libs/session.php . Unfortunately I don't know of a
way to change this without hacking the core (or making a whole new
Session component).
On Sep 14, 7:34 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Correction:
> This also seems to happen even after calling $this->redirect(...).
> I've never noticed this hapenning before. So lost.....
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---