limiting the livetime of a session possible?
| From: | Andy | Date: | Mon, 11 Mar 2002 16:46:39 +0000 |
| Subject: | limiting the livetime of a session possible? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88035@lists.php.net to get a copy of this message | ||
Hi there,
I am building a user registering module and now I am wondering if there
would be a way to destroy the session if the user was inactive for an
specified amount of time.
I found an article on that with following line:
If you propagate the session ID via cookies, you can influence the cookies
lifetime with the configuration value lifetime.
Which configuration? I tryed session_set_cookie_params(10); But this is only
valid for the same script.
Does anybody have a good idea, or possibly a hint?
Thanx for any help,
Andy