Click here to Skip to main content
15,908,843 members
Home / Discussions / C#
   

C#

 
AnswerRe: ideal time out problem Pin
BobJanova28-Nov-12 23:53
BobJanova28-Nov-12 23:53 
Setting the session expiry to a very large value is a bad idea. It means that your server ends up storing live session data for every user that has visited the site during the session expiry time.

The normal way to do this (auto login after a long idle time) is to use a cookie to skip authentication on coming back to the site.

Alternatively, you can use keep-alive AJAX requests to maintain a session while the user is actually still looking at the site (or at least has it open in a browser).
GeneralRe: ideal time out problem Pin
VishwaKL29-Nov-12 20:51
VishwaKL29-Nov-12 20:51 
QuestionDetecting Internet Connection Loss Pin
Roger Wright26-Nov-12 16:29
professionalRoger Wright26-Nov-12 16:29 
AnswerRe: Detecting Internet Connection Loss Pin
Abhinav S26-Nov-12 16:56
Abhinav S26-Nov-12 16:56 
GeneralRe: Detecting Internet Connection Loss Pin
Roger Wright26-Nov-12 17:40
professionalRoger Wright26-Nov-12 17:40 
AnswerRe: Detecting Internet Connection Loss Pin
Peter_in_278026-Nov-12 18:38
professionalPeter_in_278026-Nov-12 18:38 
GeneralRe: Detecting Internet Connection Loss Pin
Roger Wright27-Nov-12 2:32
professionalRoger Wright27-Nov-12 2:32 
QuestionDateTime NullReferenceException Pin
zeqir8525-Nov-12 22:36
zeqir8525-Nov-12 22:36 
AnswerRe: DateTime NullReferenceException Pin
Ingo25-Nov-12 23:15
Ingo25-Nov-12 23:15 
GeneralRe: DateTime NullReferenceException Pin
zeqir8525-Nov-12 23:37
zeqir8525-Nov-12 23:37 
GeneralRe: DateTime NullReferenceException Pin
Ennis Ray Lynch, Jr.26-Nov-12 6:39
Ennis Ray Lynch, Jr.26-Nov-12 6:39 
AnswerRe: DateTime NullReferenceException Pin
Ingo26-Nov-12 23:17
Ingo26-Nov-12 23:17 
AnswerRe: DateTime NullReferenceException Pin
Abhinav S26-Nov-12 16:58
Abhinav S26-Nov-12 16:58 
QuestionProcess.Start with current folder? Pin
Joni_7825-Nov-12 21:52
Joni_7825-Nov-12 21:52 
AnswerRe: Process.Start with current folder? Pin
Richard MacCutchan25-Nov-12 22:06
mveRichard MacCutchan25-Nov-12 22:06 
GeneralRe: Process.Start with current folder? Pin
Joni_7825-Nov-12 22:17
Joni_7825-Nov-12 22:17 
GeneralRe: Process.Start with current folder? Pin
Richard MacCutchan25-Nov-12 22:36
mveRichard MacCutchan25-Nov-12 22:36 
GeneralRe: Process.Start with current folder? Pin
Joni_7826-Nov-12 0:30
Joni_7826-Nov-12 0:30 
GeneralRe: Process.Start with current folder? Pin
Richard MacCutchan26-Nov-12 0:48
mveRichard MacCutchan26-Nov-12 0:48 
GeneralRe: Process.Start with current folder? Pin
Joni_7827-Nov-12 23:44
Joni_7827-Nov-12 23:44 
QuestionEfficent method to find index of a value in a array Pin
PozzaVecia25-Nov-12 7:48
PozzaVecia25-Nov-12 7:48 
AnswerRe: Efficent method to find index of a value in a array Pin
PIEBALDconsult25-Nov-12 8:35
mvePIEBALDconsult25-Nov-12 8:35 
AnswerRe: Efficent method to find index of a value in a array Pin
BobJanova25-Nov-12 22:21
BobJanova25-Nov-12 22:21 
GeneralRe: Efficent method to find index of a value in a array Pin
PozzaVecia27-Nov-12 1:38
PozzaVecia27-Nov-12 1:38 
AnswerRe: Efficent method to find index of a value in a array Pin
Richard Deeming25-Nov-12 23:58
mveRichard Deeming25-Nov-12 23:58 

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.