Hi,
I have a simple logout script whereby the user the logout link and the following happens:
destroy session via session_destroy() and do a bit of database stuff like marking them as not logged in etc. This all works how I want it to --- as long as the user directly clicks the log out link.
Is there is any way to detect when a session/closes expires so I could run my above script?
Thanks
I have a simple logout script whereby the user the logout link and the following happens:
destroy session via session_destroy() and do a bit of database stuff like marking them as not logged in etc. This all works how I want it to --- as long as the user directly clicks the log out link.
Is there is any way to detect when a session/closes expires so I could run my above script?
Thanks