I am using this code for logging out user when closes the page, but the user will logout also when clicking on other links (same website):
$( window ).unlo
Links arent the only problem, what if user edits the url and resubmits or simply refreshes the page to see new content. Or as mentioned previously, if user has 2 or more windows opened, and he closes the one, does it log out the other window ?