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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top