I WANT TO CREATE AT LOGIN SECTION ONLY ONE USE CAN LOG AT ONE TIME. AT ONE SYSTEM. USES CAN NOT OPEN IT BY ANY OTHER SYSTEM .
PLEASE HELP ME..
tHANK S
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Parveen SiwachRank #6,758 · 257 reputationPosted May 17, 2013, 4:16 AM EDT
Session Management (OutProc - SQL Server)
Note:You need to create ASPState Database for maintaining loggedin user sessions.
Hope this will help you to solve your problem.
Pankaj PandeyRank #642 · 3.7K reputationPosted May 17, 2013, 5:06 AM EDT
you can add a extra field in login table which work like a flag.
when a user logged in, it convert to 1 and when logout goes to 0.
another way to store login detail in global application file, and check at time of ligin whether another session is exist or not, but only when your loged-in users are limited.
otherwise your application may slow .
first way is better for you., and you need to write a login that if a person directly close browser then how you change flag 1 to 0.
for that you can check a perticular time(eg. 20 minut), if there is any action is done by user then flag is 1 otherwise it goes to 1 and user automatically logout.
mark as answered if helpfull
thanks
Rajeev KumarRank #1,937 · 758 reputationPosted May 21, 2013, 2:44 AM EDT