hjg
2024-07-09 30304784e82d4bba24121328da8eb8490aec4f4f
提交 | 用户 | 时间
58d006 1 # jQuery Idle Timeout
A 2
3 See the original [Mint.com example](http://www.erichynds.com/examples/jquery-idle-timeout/example-mint.htm), or a [demo](http://www.erichynds.com/examples/jquery-idle-timeout/example-dialog.htm) using jQuery UI's dialog widget.
4
5 This script allows you to detect when a user becomes idle (detection provided by Paul Irish's idletimer plugin) and notify the user his/her session
6 is about to expire.  Similar to the technique seen on Mint.com.  Polling requests are automatically sent to the server at a configurable
7 interval, maintaining the users session while s/he is using your application for long periods of time.
8
9 ![Example](http://www.erichynds.com/examples/jquery-idle-timeout/screenshot.gif)