Bug #11982: session_expires()

From: Date: Mon, 09 Jul 2001 15:47:08 +0000
Subject: Bug #11982: session_expires()
Groups: php.dev 
Request: Send a blank email to php-dev+get-59334@lists.php.net to get a copy of this message
From: arni@linux.is Operating system: Windows2000 PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: session_expires() 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 bug report at: http://bugs.php.net/?id=11982&edit=1

« previous php.dev (#59334) next »