|
-
Mar 21st, 2002, 11:46 PM
#1
Thread Starter
New Member
session time outs?
how do i time out a particular session after a fixed time interval?
does it have to do something with time() and session_destroy()?
-
Mar 22nd, 2002, 09:46 AM
#2
PowerPoster
session_destroy() is used to manually kill a session but it doesn't unset any of the global variables associated with the session (use session_unset() to do that).
To set a time out, I'm pretty sure you need add this to your php.ini
session.gc_maxlifetime = time in seconds
You might also want to set session.cookie_lifetime to the same figure.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|