Esref DURNA wrote:
how I could count the number of online users with asp .net?
which complement should i use?
Probably something like this:
- have a counter in the Application object
- on Session start increment the counter
- on Session end decrement it
This should count all active sessions, but there are some warnings:
- a session is counted until it ends, which is 20 min. after the user has left your site
- I read somewhere (can't remember the link - can someone confirm?)
that Session_OnEnd is not called if nothing was stored in the session.
Hans Kesting