Detecting user logout.
| From: | Alexander Deruwe | Date: | Tue, 02 Oct 2001 16:17:06 +0000 |
| Subject: | Detecting user logout. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-69573@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey all,
I keep track of my users using PHP4 sessions, with verification against a
PostgreSQL database.
How can I detect when a user logs out / is logged out? I provide a hyperlink
'Logout' which users are supposed to click, so I can obviously check there.
My main concern however is that people won't really use that link, but just
close their browser.. Which means my table with logged in users will never
get properly updated. Any ideas are appreciated.
Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7ueiKySJLuRUx8aQRAmLtAJ44EBWco333d62y513SEL9pNZr2qACbBNsY
4oKO7dlN2E957UeT3tuWG+A=
=Aaku
-----END PGP SIGNATURE-----