I know that you can use onunload
or onbeforeunload
to detect if someone is navigating away from a page, is there anyway to detect this when someone is navigating away from your site or closing the browser?
Possibly onunload
but some event that tells you where they are trying to go?
We've noticed the google chrome feature where session cookies are being preserved and we'd like to stop this at the web site level for security reasons.
I've seen similar questions being asked but no answers as of yet
Thanks
NB (I'm aware of the other post but that was from nearly 3 years ago, I was hoping that things may have moved on since then or some innovative solution found)