I was wondering if there was a php equivalent to this?
basically im wanting to perform a script when the session is ended, be it by timeout or closure of the browser. Obviously its easy enough if the user logs out maually, but otherwise how?
im not asking how to start/end sessions, or how to store session variable.
ASP's Session_OnEnd function?
Moderator: General Moderators
you can write your own session-handler
http://php.net/manual/en/function.sessi ... andler.php
unfortunatly you cannot call the default implementation from within your functions (afaik).
http://php.net/manual/en/function.sessi ... andler.php
unfortunatly you cannot call the default implementation from within your functions (afaik).