Trigger an action on session timeout - feature request?
| From: | Tomas Telensky | Date: | Mon, 12 Nov 2007 18:20:05 +0000 |
| Subject: | Trigger an action on session timeout - feature request? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-264386@lists.php.net to get a copy of this message | ||
Hi,
Is there any possibility to trigger an action when the session is inactive
for some time? I need to log users' login and logout, and so I need to know
about logouts caused by timeout. Neither there seems to be a possibility
of a workaround like walking through all my sessions for timeouted ones
and destroy them myself.
I have searched through the PHP doc and didn't found anything. So probably
this is a feature request. Where should I post it? PHP's bug reporting system,
unlike many common bug reporting systems, doesn't seem to distinguish
between bugs and feature requests.
I think this concept of being possible to define something like
custom "session destructor" is obvious and useful enough to be worth
implementing to PHP.
Thanks for help,
Tomas
--
"No Software Patents!" -- Allowing patents over software ideas will
seriously affect the Creativity, Productivity and Freedom of all.
Link: http://www.nosoftwarepatents.com/
--
Defend your freedom by signing a petition.
Link: http://petition.eurolinux.org/index_html?LANG=en