Global array of active sessions?

  • Thread starter Thread starter Christina N
  • Start date Start date
C

Christina N

Can anyone give me an example of how to use a global array to keep track of
all active sessions (their sessionid, logontime, etc)?

Best regards,
Christina
 
Christina said:
Can anyone give me an example of how to use a global array to keep
track of all active sessions (their sessionid, logontime, etc)?

You could use your HttpApplication's Session_Start to store a reference to
new session or some session descriptor object in the Application state or
any other globally accessible storage, and Session_End to remove it from
there again.

Cheers,
 
Back
Top