Re: How To check SessionID available or not?
- From: Peter Fox <peterfox@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Feb 2006 09:07:08 +0000
Following on from Mitul's message. . .
Hi to all,You can't, using HTTP, 'ping' the client.
I am working on a site in which I need to check whether user is online
or not. If user successfully logged out then I can change status from
online to offline but if user do not logged out and close the browser
or session timeout then in both of the case I do not handle how to
change user's status from online to offline.
Please help me to overcome the problem. Looking forward to reply from
all of you.
With Regards & thanks,
Mitul Patel
What does that leave?
The client might send a 'heartbeat' using Javascript say once every couple of minutes.
How could you implement this? Possibly by requesting a url for a frame. Whatever scheme you use don't expect it to work 100% of the time.
My guess is that you need _instead_ to look /carefully/ at user authentication.
--
PETER FOX Not the same since the bookshop idea was shelved
peterfox@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
.
- References:
- How To check SessionID available or not?
- From: Mitul
- How To check SessionID available or not?
- Prev by Date: Re: Complicated while loop for a simpleton
- Next by Date: Re: QUERY AND UPDATE PROBLEM
- Previous by thread: Re: How To check SessionID available or not?
- Next by thread: Re: How To check SessionID available or not?
- Index(es):
Relevant Pages
|