Is it possible to use the normal session handling routines, but be able to add a hook so that I can run some code associated with a session expiring?
Something like the HttpSessionBindingListener in the Java Servlet specification.
Thanks.
How do I get notified when a session expires? I would like a piece of code that is executed when a session expires so that cleanup can be performed.
Something like the HttpSessionBindingListener in the Java Servlet specification. Surely the capable PHP can do something like this.