I would something like :
- when a user logs in, its session id is registered in a list
- if the list contains more than 10 userers then the first is to be removed.
- could perhpas sotre this in a queue in an application variable.
I would avoid this myself as this is a bit annoying
If you really have I would rather prevent the last one to log rahter than to
fire someone that could be active.
Any reason for doing so ?
Patrice
"Ryan Moore" <ry*******@hotmail.com> a écrit dans le message de
news:%2****************@TK2MSFTNGP11.phx.gbl...
I'm using Forms Authentication for user logins in an ASP.NET app.
Is there any way to log out another Session when a user logs in?
Example:
The site only allows 10 users to be logged in at once.
When the 11th user logs in, the server logs out the 1st user and logs in
the 11th (kicks out the first to make room for the last)
thnx