|
 |
aspx thread: List of all active sessions
Message #1 by Suman Banerjee <suman_24@y...> on Wed, 8 May 2002 01:06:43 -0700 (PDT)
|
|
Hi Guys,
Is there a way to get all the active session ids a web
server is currently serving.
Regards
Suman
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
Message #2 by "Subraya Hegde" <subrayah@i...> on Thu, 9 May 2002 14:22:41 +0530
|
|
Hey,
It's very easy. Just maintain a session object which holds every session
ID generated
from the server. U can get the value of the session ID for a particular
session by making
use of Session.SessionId in the Session_OnStart event in the global.asa
file.
Cheers,
HegdeS
Message #3 by "Manuj Sarpal" <manujsarpal@h...> on Thu, 9 May 2002 10:12:33 +0100
|
|
Hi Hegde,
I think u meant maintailing an application object storing each session id..
correct me if I am wrong.
Manuj
----- Original Message -----
From: "Subraya Hegde" <subrayah@i...>
To: "ASP+" <aspx@p...>
Sent: Thursday, May 09, 2002 9:52 AM
Subject: [aspx] RE: List Of All Active Sessions
>
> Hey,
>
> It's very easy. Just maintain a session object which holds every session
> ID generated
> from the server. U can get the value of the session ID for a particular
> session by making
> use of Session.SessionId in the Session_OnStart event in the global.asa
> file.
>
> Cheers,
> HegdeS
>
>
>
Message #4 by irfan.syed@g... on Thu, 9 May 2002 17:44:40 +0800
|
|
This is a multipart message in MIME format.
--=_alternative 0035803C48256BB4_
Content-Type: text/plain; charset="us-ascii"
It should not be session object, but Application object. Insert SessionID
at session start and delete on session end. Else duplicates will cause
trouble.
"Subraya Hegde" <subrayah@i...>
05/09/2002 04:52 PM
Please respond to "ASP+"
To: "ASP+" <aspx@p...>
cc:
Subject: [aspx] RE: List Of All Active Sessions
Hey,
It's very easy. Just maintain a session object which holds every session
ID generated
from the server. U can get the value of the session ID for a particular
session by making
use of Session.SessionId in the Session_OnStart event in the global.asa
file.
Cheers,
HegdeS
This e-mail (and any attachment (s)) is confidential and for use only by
intended recipient (s). Access by others is unauthorised. Its content
should not be relied upon and no liability or responsibility is accepted by
us, without our subsequent written confirmation of its content. If you are
not an intended recipient, please notify us promptly and delete all copies
and note that any disclosure, copying, distribution or any action taken or
omitted to be taken in reliance on the information it contains is
prohibited and may be unlawful. Further information on Guoco Group is
available from http://www.guoco.com
Message #5 by "Subraya Hegde" <subrayah@i...> on Fri, 10 May 2002 09:20:43 +0530
|
|
Hi Manuj Sarpal and Irfan Syed,
Yeah, you guys are right !!! Sorry for a small mistake.
I make it clear once again....
It is like maintaining an Application Object which holds every session IDs
generated
from the server. U can get the value of the session ID for a particular
session
by making use of Session.SessionId in the Session_OnStart() event in the
global.asa
file.
|
|
 |