Hi Everyone,
I am new to this forum and have a query. Might be it has already been asked earlier, but would be grateful if someone can guide or redirect me to it.
We are persisting the session (sesion ids) in the database when a user logs in. We have provided the Logoff button but there are high chances that our users may just close the window instead of the using the Log-off option. I need to close/kill the session (in the database) when the user closes the window.
Do we have any specific event for handling the close of the window. Is there any code snippet available to detect all the scenarios for closing of window.If yes, please share it with me.
Thanks a a lot to everyone.
With Best Regards,
Sampreet