#11982 [Com]: session_expires()
| From: | Rated-FEET491 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:09:13 +0000 |
| Subject: | #11982 [Com]: session_expires() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63028@lists.php.net to get a copy of this message | ||
ID: 11982
Comment by: Rated-FEET491 at hotmail dot com
Reported By: arni at linux dot is
Status: Analyzed
Bug Type: Feature/Change Request
Operating System: Windows2000
PHP Version: 4.0.6
Assigned To: yohgaki
New Comment:
<a href=http://www.geocities.com/jnypztffzt5483/>FEET
Rated</a>
Previous Comments:
------------------------------------------------------------------------
[2001-07-09 11:47:08] arni at linux dot is
I have a feature request for the session module in php. This request
should be self-explaining. I would appreciate if a session_expires(int
seconds) function would be implemented. Defining when a session will
expire in seconds.
This function should destroy the session if the session is expired.
Also, let the function return 1 if the session is expired, and 0 if
it's not expired. Then it could be used in cases like:
if(session_is_expired()) {
...expired...die
}
else {
...not expired, continue...
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11982&edit=1