Re: [PHP] session.gc_maxlifetime

2005-09-13 Thread Gustav Wiberg
- Original Message - From: "Shaw, Chris - Accenture" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General" Sent: Friday, September 09, 2005 7:21 PM Subject: RE: [PHP] session.gc_maxlifetime -Original Messa

RE: [PHP] session.gc_maxlifetime

2005-09-09 Thread Kirk . Johnson
> Also, I thought you could use ini_set to change your php.ini configuration > for your current script. > > But I could be wrong... Did I miss read the manual? ini_set() can be used to change *some* settings. Some items that are configured in php.ini come into play before the script is parsed,

RE: [PHP] session.gc_maxlifetime

2005-09-09 Thread Shaw, Chris - Accenture
> -Original Message- > From: Gustav Wiberg [mailto:[EMAIL PROTECTED] > Sent: 09 September 2005 14:40 > To: PHP General > Subject: [PHP] session.gc_maxlifetime > > > * > > This e-mail has been received by the Revenue Internet e-mail service. > >

Re: [PHP] Session.gc_maxlifetime?

2004-10-04 Thread John Holmes
> From: Suhas <[EMAIL PROTECTED]> > > My general understanding is a session can be idle for > 1440 seconds. If a php page tried to refer to a session > which is been idle more than > 1440 seconds, there is very little chance that page will > access to session data. Not quite. As long as a sessio

RE: [PHP] Session.gc_maxlifetime?

2004-10-04 Thread Vail, Warren
This is my understanding; When you use session_start(); in your script it sets a condition that will cause a session write of the contents of the $_SESSION array to the session repository (by default a file whose name contains the session ID) when the script has ended. At that time the record tim

Re: [PHP] Session.gc_maxlifetime?

2004-10-04 Thread Marek Kilimajer
Suhas wrote: Hello, I just want to make sure that I understand this concept. When i read thr' docs, session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up and default value is 1440. My guess is : A. 1440 seconds from last visit to the page

Re: [PHP] session.gc_maxlifetime

2004-03-25 Thread Richard Davey
Hello Jeff, Thursday, March 25, 2004, 2:40:04 PM, you wrote: JS> I'm just wondering about this setting for the Session management JS> functionality. To wit, will the session timer keep getting 'reset', so JS> that as long as a user is still accessing my site, the session doesn't JS> expire? O

Re: [PHP] session.gc_maxlifetime

2001-03-21 Thread Yasuo Ohgaki
It depends on your requirement. For me 1440 sec is too short. I'll set it to little over 1 hour because login timeout is 1 hour. If you have login/logout system using session, the value better to be larger than login timeout. Regards, PS: You might want to set gc probability around 10%. Depends