T
TheOne
Hi I am trying to display on a web page number of visitors on the site. I am
doing this by increasing +1 in global.asax on Session_start and
subtracting -1 on Session_end. I am storing value in the
Application("numberOfVisitors"). It works fine but when I compare values to
number of ASP Applications "Sessions Active" under Windows 2003 performance
chart gives me different values. I am not sure why there is a difference,
and also if there is some better way of doing it? Is it possible in code to
count number of "Sessions Active" and display this instead of adding one and
subtracting one?
Thanks,
Sinisa
doing this by increasing +1 in global.asax on Session_start and
subtracting -1 on Session_end. I am storing value in the
Application("numberOfVisitors"). It works fine but when I compare values to
number of ASP Applications "Sessions Active" under Windows 2003 performance
chart gives me different values. I am not sure why there is a difference,
and also if there is some better way of doing it? Is it possible in code to
count number of "Sessions Active" and display this instead of adding one and
subtracting one?
Thanks,
Sinisa