session_start() doesn't reset session.cookie_lifetime?

From: Date: Sat, 13 Jan 2001 06:04:06 +0000
Subject: session_start() doesn't reset session.cookie_lifetime?
Groups: php.general 
Request: Send a blank email to php-general+get-34347@lists.php.net to get a copy of this message
Let's say session.cookie_lifetime = 30; this of course kills the session 30 seconds after it was created. Is there a way to have every session_start() 'renew' the life of the clients cookie? Meaning the session would expire 30 seconds after the LAST session_start() call. My goal is to have my sessions expire after 5 minutes of inactivity. Also, will PHP clean up the session files on it's own? Thanks, Chris -- "What's the Constitution between friends?" - TIMOTHY J. CAMPBELL - Response to President Cleveland, who refused to support a bill because it was unconstitutional

« previous php.general (#34347) next »