RE: [PHP] PHP Session Idle Time

2002-06-27 Thread Demitrious S. Kelly
Save time as a session variable... and if current time minute time is greater than x seconds, then destroy the session and start over. -Original Message- From: Jefferson Cowart [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 2:13 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP

Re: [PHP] PHP Session Idle Time

2002-06-27 Thread Rasmus Lerdorf
See your php.ini file: ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. session.gc_maxlifetime = 1440 On Thu, 27 Jun 2002, Jefferson Cowart wrote: I'm writing a web application in which I would like the session to

Re: [PHP] PHP Session Idle Time

2002-06-27 Thread 1LT John W. Holmes
How do you define idle time in a stateless environment?? How do you know if it just takes the person 20 minutes to read the page, or they are idle? All you can do is set a time when the page was requested, and when the next page is requested, if it's been over XX minutes, they were idle too