From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to