|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-12-01 16:05 UTC] jani@php.net
-Package: Feature/Change Request
+Package: Session related
[2011-11-08 03:20 UTC] yohgaki at ohgaki dot net
[2011-11-08 03:25 UTC] yohgaki at ohgaki dot net
[2013-08-07 08:52 UTC] yohgaki@php.net
-Status: Analyzed
+Status: Wont fix
[2013-08-07 08:52 UTC] yohgaki@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 18:00:01 2025 UTC |
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... }