Re: Need to find-out improper sign-out
- From: Rik <luiheidsgoeroe@xxxxxxxxxxx>
- Date: Sun, 04 Mar 2007 00:24:42 +0100
Gordon Burditt <gordonb.739ao@xxxxxxxxxxx> wrote:
Is there any way to run a function or a code-block whenever the client-
server communication breaks off. (ie power-off, browser-crash...)
No. The best you can do is time out a session X time from the last
hit. Another kind of "improper sign-out" you won't see is clicking
on an ad and not coming back, clicking on the HOME button, typing
in a URL, etc. Know also that communication doesn't necessarily
stay up during a session. It may disconnect after completing each
page.
Why I need this is, I want to update a login-table to trace user's
leave the portal without proper log-off or sign-out.
Find something else to need.
Every time a user at proper sign-in, a flag is set & account is locked
until he sign-out by updating in the login-table.At sign-out the flag
is released & his account is ready to log-in again.
Is my logic right?
Why on earth would you need such a thing, besides trying to drive off users?
I'd even go so far as to say: the last one to log in clearly knows the password, if another one is currently logged in under the same credentials I log them out instantly. People can get seperate logins a plenty, no reason to share, and another little security measure to, well, not prevent, but end a specific session hijack.
--
Rik Wasmus
.
- Follow-Ups:
- Re: Need to find-out improper sign-out
- From: Gordon Burditt
- Re: Need to find-out improper sign-out
- References:
- Need to find-out improper sign-out
- From: Kesavan
- Re: Need to find-out improper sign-out
- From: Gordon Burditt
- Need to find-out improper sign-out
- Prev by Date: Re: Blocking with fopen when file is already open for writing
- Next by Date: Re: List Fails on some computers - www missing in url
- Previous by thread: Re: Need to find-out improper sign-out
- Next by thread: Re: Need to find-out improper sign-out
- Index(es):