Click here to Skip to main content
16,005,181 members
Home / Discussions / C#
   

C#

 
AnswerRe: add number Pin
Luc Pattyn24-Aug-11 5:06
sitebuilderLuc Pattyn24-Aug-11 5:06 
Questionhow to simplify the loop? Pin
SRKSHOME23-Aug-11 23:15
SRKSHOME23-Aug-11 23:15 
AnswerRe: how to simplify the loop? Pin
Luc Pattyn24-Aug-11 0:14
sitebuilderLuc Pattyn24-Aug-11 0:14 
GeneralRe: how to simplify the loop? Pin
RobCroll24-Aug-11 1:39
RobCroll24-Aug-11 1:39 
AnswerRe: how to simplify the loop? Pin
V.24-Aug-11 0:38
professionalV.24-Aug-11 0:38 
AnswerRe: how to simplify the loop? Pin
PIEBALDconsult24-Aug-11 2:53
mvePIEBALDconsult24-Aug-11 2:53 
QuestionPrevent Multiple Login Pin
akosidandan23-Aug-11 18:31
akosidandan23-Aug-11 18:31 
AnswerRe: Prevent Multiple Login Pin
Simon Bang Terkildsen23-Aug-11 20:13
Simon Bang Terkildsen23-Aug-11 20:13 
This should probably have been posten in the ASP.NET forum.

In any case I suppose you could add a dictionary to which you at add the the user and current session, when a user logs on. You remove it when the session times out or the user logs off.
Then if an already logged in user, user logs on from another session you have 3 options as I see it:
1) Don't allow the user to logon.
2) Allow the user to logon and then logoff the same user on the other session.
3) let the user choose between 1) and 2)
GeneralRe: Prevent Multiple Login Pin
akosidandan24-Aug-11 3:48
akosidandan24-Aug-11 3:48 
AnswerRe: Prevent Multiple Login Pin
Not Active24-Aug-11 2:16
mentorNot Active24-Aug-11 2:16 
GeneralRe: Prevent Multiple Login Pin
akosidandan24-Aug-11 2:41
akosidandan24-Aug-11 2:41 
GeneralRe: Prevent Multiple Login Pin
Not Active24-Aug-11 3:21
mentorNot Active24-Aug-11 3:21 
GeneralRe: Prevent Multiple Login Pin
akosidandan24-Aug-11 3:45
akosidandan24-Aug-11 3:45 
AnswerRe: Prevent Multiple Login Pin
BobJanova24-Aug-11 2:25
BobJanova24-Aug-11 2:25 
GeneralRe: Prevent Multiple Login Pin
akosidandan24-Aug-11 3:03
akosidandan24-Aug-11 3:03 
GeneralRe: Prevent Multiple Login Pin
Not Active24-Aug-11 3:18
mentorNot Active24-Aug-11 3:18 
GeneralRe: Prevent Multiple Login Pin
akosidandan24-Aug-11 3:31
akosidandan24-Aug-11 3:31 
GeneralRe: Prevent Multiple Login Pin
BobJanova24-Aug-11 4:13
BobJanova24-Aug-11 4:13 
AnswerRe: Prevent Multiple Login Pin
PIEBALDconsult24-Aug-11 2:58
mvePIEBALDconsult24-Aug-11 2:58 
GeneralRe: Prevent Multiple Login Pin
akosidandan24-Aug-11 3:21
akosidandan24-Aug-11 3:21 
QuestionC#.net working with windows authenication Pin
dcof23-Aug-11 12:14
dcof23-Aug-11 12:14 
AnswerRe: C#.net working with windows authenication Pin
Mycroft Holmes23-Aug-11 15:14
professionalMycroft Holmes23-Aug-11 15:14 
AnswerRe: C#.net working with windows authenication Pin
ake0123-Aug-11 23:29
ake0123-Aug-11 23:29 
AnswerRe: C#.net working with windows authenication Pin
Bernhard Hiller25-Aug-11 5:15
Bernhard Hiller25-Aug-11 5:15 
QuestionC#.net working with active directory Pin
dcof23-Aug-11 12:03
dcof23-Aug-11 12:03 

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.