I used sessions at old web site to save log in data, is there a way to make user logged out after closing the browser ?
thanks in advance
window.onbeforeunload java script event. It will fire before closing the browser. you can use that event to call the ajax request to force session out or redirect to the logged out page.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)