i want list of session which is active on my server,I want to count how many active connect right now
How to get list of active session on server?
Collapse
X
-
Tags: None
-
Check out the Global.asax file. It contains code for handling application-level events like Session_Start and Session_End.
You can declare an application level variable in the Global.asax file that is incremented every time the Session_Start event occurs and is decremented every time the Session_End occurs.
Please note that the Session_Start and Session_End events will only be fired if you are using InProc session.
-Frinny
Comment