You will be logged off in  seconds due to inactivity. Click here to continue using this web page.

erichynds

« Return to Blog Post

jQuery Idle Timeout Demo - Mint.com Style

This idle timeout countdown is triggered after 5 seconds. Keep your mouse and keyboard still!

Example

A polling request is sent to the server every two seconds to keep the server side session alive. I've set this parameter to an extremely low number for demo purposes (timeout is only 5 seconds), but in reality, this should be much higher.

View source to see markup & CSS.