Click to See Complete Forum and Search --> : Session timeouts every 30 minutes ?


Anon
01-28-2002, 11:28 PM
Hello, I have built a program in PHP. It uses sessions. It seems that if the user lets the program sit idle for about 20-30 minutes then it times out and loses the session information. The user then has to log in again. Is there any way to stop the timeout, or increase the time allowed before timeout ?
Thank you,
David

Anon
01-28-2002, 11:48 PM
In php.ini, change the value of session.gc_maxlifetime (as documented in the manual on the introductory page covering session functions; it's not mentioned on the page covering php.ini).