Click here to Skip to main content
15,890,123 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to create .bat or .cmd file of console application. Pin
rahul.net112-Jan-09 23:13
rahul.net112-Jan-09 23:13 
QuestionGridview Problem Pin
monika_vasvani2-Jan-09 21:55
monika_vasvani2-Jan-09 21:55 
AnswerRe: Gridview Problem Pin
Abhijit Jana2-Jan-09 22:12
professionalAbhijit Jana2-Jan-09 22:12 
QuestionRegarding the base class for web form... Pin
Sasmi_Office2-Jan-09 21:38
Sasmi_Office2-Jan-09 21:38 
AnswerRe: Regarding the base class for web form... Pin
Abhijit Jana2-Jan-09 22:23
professionalAbhijit Jana2-Jan-09 22:23 
GeneralRe: Regarding the base class for web form... Pin
Sasmi_Office2-Jan-09 22:27
Sasmi_Office2-Jan-09 22:27 
QuestionHow to stop multiple login with same userid and password? - ASP Pin
Jaiprakash M Bankolli2-Jan-09 21:01
Jaiprakash M Bankolli2-Jan-09 21:01 
AnswerRe: How to stop multiple login with same userid and password? - ASP [Modified] Pin
Abhijit Jana2-Jan-09 21:14
professionalAbhijit Jana2-Jan-09 21:14 
Jaiprakash M Bankolli wrote:
I want to know how can we prevent multiple login in ASP site using same userid and password?

Using databases . When User login into your application , check is there any entry in the database with that user name or not. If not, make an entry and enter into the application. If yes, message that some one has already logged in into the application it the same credentials.

Check it on Login

if(UserIsInApplication(UserID))
   {
    Alert("Already Logged in with the same credentials..."
   }   
    else
    {
     MakeDBEntry(UserID);
     LoginApplicatin(UserID);
    }


Note :
You have to implement all those methods, I have given just for your understanding
Remove the DataEntry from database when user log off Application , other wise user never be logged into the application .
Here is another Tricks , What happend , If user close the browser instead of Click on "Logoff" Smile | :)


[Added]
Jaiprakash M Bankolli wrote:
know this query is not related with ASP.NET

Apologies. I didn't read this section . Extremely sorry.

[/Added]

cheers,
Abhijit

GeneralRe: How to stop multiple login with same userid and password? - ASP Pin
Jaiprakash M Bankolli2-Jan-09 21:18
Jaiprakash M Bankolli2-Jan-09 21:18 
GeneralRe: How to stop multiple login with same userid and password? - ASP Pin
Abhijit Jana2-Jan-09 21:28
professionalAbhijit Jana2-Jan-09 21:28 
GeneralRe: How to stop multiple login with same userid and password? - ASP Pin
Jaiprakash M Bankolli2-Jan-09 21:32
Jaiprakash M Bankolli2-Jan-09 21:32 
GeneralRe: How to stop multiple login with same userid and password? - ASP Pin
Abhijit Jana2-Jan-09 22:07
professionalAbhijit Jana2-Jan-09 22:07 
QuestionSetting of Default Button Pin
M. J. Jaya Chitra2-Jan-09 20:28
M. J. Jaya Chitra2-Jan-09 20:28 
Questionactive directory Pin
bhavna43212-Jan-09 20:26
bhavna43212-Jan-09 20:26 
AnswerRe: active directory Pin
Abhijit Jana2-Jan-09 20:39
professionalAbhijit Jana2-Jan-09 20:39 
Questionretrieving text of a huperlink in a datalist Pin
nripendra342-Jan-09 19:43
nripendra342-Jan-09 19:43 
QuestionHow To Retrieve Theme Color Pin
ais072-Jan-09 19:24
ais072-Jan-09 19:24 
AnswerRe: How To Retrieve Theme Color Pin
Abhijit Jana2-Jan-09 19:39
professionalAbhijit Jana2-Jan-09 19:39 
GeneralRe: How To Retrieve Theme Color Pin
ais072-Jan-09 20:00
ais072-Jan-09 20:00 
GeneralRe: How To Retrieve Theme Color Pin
Abhijit Jana2-Jan-09 20:03
professionalAbhijit Jana2-Jan-09 20:03 
GeneralRe: How To Retrieve Theme Color Pin
ais072-Jan-09 20:12
ais072-Jan-09 20:12 
GeneralRe: How To Retrieve Theme Color Pin
Abhijit Jana2-Jan-09 20:18
professionalAbhijit Jana2-Jan-09 20:18 
GeneralRe: How To Retrieve Theme Color Pin
ais072-Jan-09 20:40
ais072-Jan-09 20:40 
GeneralRe: How To Retrieve Theme Color Pin
Abhijit Jana2-Jan-09 20:59
professionalAbhijit Jana2-Jan-09 20:59 
QuestionUpdatePanel issue Pin
chinnumol2-Jan-09 19:02
chinnumol2-Jan-09 19:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.