Next count no. clients connected to the server
<p><a href="http://stackoverflow.com/questions/8854176/get-a-list-of-all-active-sessions-in-asp-net">Get a list of all active sessions in ASP.NET</a>
the above linked show the get active session but how to used this method when i used the application_start  or user form load it returns null.</p>

<p>i want to calculate the how many user active in current session or server .this question is linked with my previous question
<a href="http://stackoverflow.com/questions/9495241/next-count-no-clients-connected-to-the-server">.Next count no. clients connected to the server</a></p>

<p>i have used the get IP address &amp; add to the arraylist &amp; counting the IP address collection its working but when the already login user get close the application the IP address not remove from the arraylist . i have used the session_end event to remove the IP aadress when i try to remove the IP address the again get the IP address from context it throws exception . but session end event throws after specific timeout . but i want to remove the IP address when client disconnected or close the browser.</p>
