There is no way to determine if the page is being unloaded because the user has closed the browser or has simply clicked on a link. So any message would be getting displayed all the time as users move from page to page.
However, once the user closes the browser the session will be killed - requiring the user to log in again anyway.
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.