Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP session id

Status
Not open for further replies.

arundean

Programmer
Joined
Dec 4, 2002
Messages
1
Location
IN
I have the session id of the user stored in the database whenever the user accesses a page. When another user accesses the same page, I would like to know if the previous user is still accessing the page. Is there any way I can use the session id stored in the database to check if the user is still accessing the page.
 
You can only detect two things.
[ol]
[li]If the user has called a new page (note: the user can do this WITHOUT leaving the current one)
[li]If the user session has ended
[/ol]

Once the server sends the page, there is no way to tell if the user still has it displayed....
"check if the user is still accessing the page" - they really aren't accessing it after the server delivers it to the client..... -----------------------------------------------------------------
[pc] Be nice. It's only doing what you tell it to do.
mikewolf@tst-us.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top