Please help!

emvanlill

Member
Joined
Jun 25, 2003
Messages
10
Location
Ireland
Hi all you clever people!!!

I want to use the Session_Start and Session_End events to show how many users are using my site at one moment. Ive used a text file to store the number, which will be the number zero initially. Then when the Session starts, I use the above events in the global.asax file to start reading from this file, add one and then display it on the site. And then when the Session end, the code should do just the opposite(which is reading the value from the text file and substracting one from value).

Problem: The code in the Session_Start routine in the global.asax file accually works, but the Session_End routine never runs. I dont know if I should change a setting in the configuration or what. Please can someone just tell me how to use the [Session_End event. Ive been sitting with this problem for days now.

Thanx
 
Back
Top