Hi, i am using a flag in the database to detect if the user is logged in or not. But this flag is updated only if the user logs in or logs out.If the user closes the browser or somehow gets out of the site without logging out he has to wait for the session to be timed out to log in again as concurrent log in has been obstructed in my application.
Now is it possible in .net to see while logging in that if the user is having any active session without checking the database?If that is possible then i will allow the user to log in if he has an inactive session running.
Plz help.
sumansaha1
0
Newbie Poster
Recommended Answers
Jump to PostI am guessing you are storing the sessionID in the database for that account? If so then who cares if they leave your site and come back or if they close their browser and re-opens it.
The idea is to only allow the user one session while on the …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.