Close/kill the session when the browser or tab is closed

Hi, I have a question:

If my user is “log in” and he closes the browser, how can I delete his temporary data from my data base?

I’m deleting his temporary data every time he “sign off” his session, but I still cannot figure out how can I delete his data if he kills his session closing the tab without “sign off”.

Thanks.

The best way is to deselect the option ‘stay logged in’ at the login action level.

1 Like