Alert user when their session is about to expire
Note: Cross posted from Vijay Kodali's Blog.
Permalink
Here is a quick and dirty trick to alert users on session timeout. This is not a perfect solution. But it will give reader an idea to work on...
Some facts before we start:
Session doesn't end
- When the user closes his browser
- When the user navigates away from your page
- When user connection lost.
Session ends, when the server hasn't gotten a request from the user in a specific time (Session timeout value)....Permalink