I am guessing there might be some other causes: - The user agent changed between calls (less likely in your case, though) - When first ajax call came, cake regenerated session_id (if security level set to high) The second ajax request might have taken place when session info had been moved to a new 'location' identified by the new session id (the second ajax call still attempted to use the old session id). To verify this, look into the /tmp folder (or the folder you use for session save path) to see how the session files get changed upon EACH request from browser.
On Dec 12, 6:28 pm, ProFire <[EMAIL PROTECTED]> wrote: > Ok! Maybe I should rephrase my questions. > > What are the causes for an Expired session? > > I know the standard ones are the Time Limit and the code > (session_destroy()). > Are there any other causes for it? > Is there a code in CakePHP that causes session to expire? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
