On 4 Jul., 11:57, SMARTEGURU <[EMAIL PROTECTED]> wrote:
> define('CAKE_SESSION_SAVE', 'database');
> define('CAKE_SECURITY','low');
> define('CAKE_SESSION_TIMEOUT', '12');

CAKE_SECURITY = low causes the session cookie to be saved for
788940000 seconds - even if your browser is being closed, the cookie
session is saved. also CAKE_SECURITY = low multiplies
CAKE_SESSION_TIMEOUT by 300. Just wait 3600 seconds and look what's
happening ;-) You have to put CAKE_SECURITY to 'high' which results in
not saving the session into a cookie, but then you have to set
CAKE_SESSION_TIMEOUT to a higer value (CAKE_SECURITY = high multiplies
CAKE_SESSION_TIMEOUT by 10 resulting an active session for 120 seconds)


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