On Mar 19, 2007, at 1:04 PM, Andre wrote:
> > I was looking at the user authentication example in the manual, and > I've noticed that the CakePHP Session do have a timeout after a > certain amount of time, based on the application's security level. > > So, since I'm trying to build a blog application, this could be a > problem, because if a session expires while I'm still writing my > article, as soon as I press the submit button all of my work becomes > dust. > > Besides incrementing the number that describes how many seconds does a > session lasts (which should be the CAKE_SESSION_TIMEOUT value, > right?), are there some other ways to avoid that session expiring > problem I've mentioned before? Set CAKE_SESSION_SECURITY to 'med' or lower. This stops the session ID from being regenerated after every request. I wonder if your setup is having issues with this. Are your session cookies still intact when you notice the session has died? -- John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---