Hello all. Can someone please give some sample code on how to timeout a user when he is inactive or when he closes the browser window? For example when a user logs in a value is set to true and stored in a database. when the user becomes inactive for some x minutes or when he closes the browser window the value will be set to false and he is logged out automatically. Please help!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[PHP] Timeout inactive users | 0 | 38 | April 14, 2004 | |
Timeout session
|
0 | 70 | January 30, 2008 | |
Telling if a user is online
|
0 | 72 | February 22, 2009 | |
Expire a user!
|
0 | 46 | January 28, 2004 | |
Expire a user! | 0 | 43 | January 28, 2004 |