Saturday, September 27, 2008

Re: timeout

CAKE_SESSION_TIMEOUT number of seconds until session timeout. This figure is multiplied by CAKE_SECURITY.

CAKE_SECURITY

determines the level of session security for the application in accordance with CAKE_SESSION_TIMEOUT. Can be set to 'low', 'medium', or 'high'. Depending on the setting, CAKE_SESSION_TIMEOUT is multiplied according to the following:

  1. low: 300

  2. medium: 100

  3. high: 10




http://book.cakephp.org/view/317/Cake-s-Global-Constants-And-Functions

not sure what the upper limit is for session.timeout cfg setting

- S

2008/9/27 . <lunet3@gmail.com>
how do you set the timeout to infinite?
 
Configure::write('Session.timeout', x)
 
also, is this in seconds?




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: