Adding an Auto-Logout Feature - Part 1
By: Tom Muck on Wednesday, December 17, 2008
Reader Level: 
If you have a web application that has a login feature, chances are you also have a logout function. What happens when the user keeps the browser open and doesn't log out? Many times he will go back to the page and attempt to click on something, only to find out that he has to login again.
This article will show a JavaScript function that you can put on the page that will automatically log out the user after a specific length of time, so that when he returns to the browser he will already be logged out. Because this is a JavaScript function, it will work with any server-side language.
The Adding an Auto-Logout Feature Series:
Adding an Auto-Logout Feature - Part 1
Adding an Auto-Logout Feature - Part 2
Purchase this item
You can purchase this piece of content separately for
$4.00
Want more?
Community MX members get unlimited access to daily articles,
tutorials, extensions and support. The most comprehensive
resource for Macromedia designers and developers today.
Take a tour of what we offer, and discover the benefits
of subscribing.
Already a member?
Simply log in using the form in the top right area of the site.

