Click here to Skip to main content
16,017,376 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
For a secure web application, we are restricting multiple users logging in
with same user id. But when the browser is closed , the user cannot
login with his ID as his session ID present in server cache.Eventhough on browser close, session expires but it will be present in server cache.

Help me to solve this issue asap.
Posted

This is quite a common question. In general, it can't be done. You are better off, if one session per user is really an important requirement (in 99% of cases it is simply an annoyance), booting any existing sessions when a user logs in somewhere else.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900