Click here to Skip to main content
15,925,528 members
Home / Discussions / C#
   

C#

 
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 
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 
The item is being removed from the Cache after the default 20 minutes? Are you removing it somewhere prior to this? If you are attempting to login during this time period then it is correct.

Just personal preference I guess but I would rather use String.IsNullOrEmpty or String.IsNullOrWhiteSpace rather than this
if (sUser == null || sUser==" ")


Less typing and more clear as to what condition you are testing.

No comment

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 
AnswerRe: C#.net working with active directory Pin
Simon Bang Terkildsen23-Aug-11 12:44
Simon Bang Terkildsen23-Aug-11 12:44 
AnswerRe: C#.net working with active directory Pin
SledgeHammer0123-Aug-11 12:49
SledgeHammer0123-Aug-11 12:49 

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.