See session.gc_maxlifetime in php.ini. The session timer is based on the session file access (or modified?) timestamp. It gets reset every time the session data is accessed, which is every time a page using that session is requested.
Kirk > -----Original Message----- > From: Smileyq [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 24, 2002 11:35 PM > To: [EMAIL PROTECTED] > Subject: [PHP] session_start() times and resets? > > > I have one question that I've been working about. When you setup a > session to last a particular time say 1 week. If the user > comes back to > that page because the week is over to reset the session does the user > then at that time reset the timer to yet another week. I'm trying to > figure out a way to set something like this up so that if they choose > not to come back for a period of time the session will delete but if > they do come back it will just reset for another week . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php