Setting a timed-session

From: Date: Fri, 01 Oct 2004 19:16:44 +0000
Subject: Setting a timed-session
Groups: php.db 
Request: Send a blank email to php-db+get-36534@lists.php.net to get a copy of this message
Hi all. This may be a bit elementary, however, I am confused on the functionality of it. I am wanting to create a session that logs out after a certain amount of time, no matter if the user is doing something or not. I have used the function set_time_limit(), but I don't know if I'm using it properly. What I do is whenever a certain page is accessed, I call that function. I tested it with 10 seconds, but nothing seemed to happen. Is it supposed to kill the session and all of the $_SESSION variables? Or what exactly is it supposed to do? I looked on the php site, but I'm still a bit baffled? Any insight? http://us4.php.net/function.set-time-limit Thanks in advance, ~Philip

« previous php.db (#36534) next »