|
-
Jul 2nd, 2007, 11:35 AM
#1
Thread Starter
Fanatic Member
Count of the number of active sessions?
Is it possible to find out the number of active sessions connected to your web application? Or do I have to keep my own count by incrementing in Session_Start() and decrementing in Session_End()?
I need to limit the number of sessions connecting at any one time...
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Jul 2nd, 2007, 01:08 PM
#2
Re: Count of the number of active sessions?
I'm not sure about sessions, but if you're using the Membership class for logins, you can trap the number of users logged in with Membership.GetNumberOfUsersOnline().
-
Jul 2nd, 2007, 01:26 PM
#3
Lively Member
Re: Count of the number of active sessions?
On the global page you can store an object in application and everytime a session begins add one the the object and when the session ends subtract one from the object.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|