...

View Full Version : Are YOU still connected?



jaywhy13
01-26-2005, 11:03 PM
Is there a way that I can combine the technologies and methods of application variable and session variables to find out if a user's session is still active at some remote location? :o :confused:

I wanna get that done without the use of any global.asa functions.... So that means.. no onsesison_end or onapplication end or stuff like. :cool:

Please don't ask why. Just anyone.... i spelt out my problem.... Please help!!! :eek: :eek: :o :o

thanks in advance

Raj1Patel
01-28-2005, 07:06 PM
You can use the Response.IsClientConnected... To check if the client is connected.

ie.
'Check to see if the client is connected.
If Not Response.IsClientConnected Then
' do what ever you want to do because the client has gone.
End If

tboss132
01-28-2005, 07:19 PM
Related Links:

W3Schools
http://www.w3schools.com/asp/prop_isclientconnected.asp

MSDN
http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_vbom_resopicc.asp

Raj1Patel, welcome to Coding Forums. And your first post is you helping someone else not you looking for help. That's very commendable. Hope to get more of your kind here.

jaywhy13
01-30-2005, 07:18 AM
Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum