Guest Posted January 21, 2011 Share Posted January 21, 2011 Message from: "Uwe" Hi Farshad, when i set the SessionTimeout=0 and you start the browser you get an imidiate timeout error. I expect with SessionTimeout=0 an endless Session. Uwe . Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2011 Author Share Posted January 22, 2011 Message from: "Farshad Mohajeri" "Uwe" wrote in message news:OiyfcrauLHA.2160@anaxagvs227... > Hi Farshad, > > when i set the SessionTimeout=0 and you start the browser you get an > imidiate timeout error. I expect with SessionTimeout=0 an endless Session. > A session running indefinitely is not a good idea. If user closes the browser window without terminating the application, session will hang in server's memory forever and in long term you'll have many "ghost" sessions consuming server resources. If you want to keep session running as long as browser window is open then put a dummy timer with a long interval so session will never timeout. . Link to comment Share on other sites More sharing options...
Guest Posted January 23, 2011 Author Share Posted January 23, 2011 Message from: "Uwe" Am 22.01.2011 14:23, schrieb Farshad Mohajeri: > "Uwe" wrote in message After thinking a while about, i agree. A Timer is the better solution. Regards Uwe > news:OiyfcrauLHA.2160@anaxagvs227... >> Hi Farshad, >> >> when i set the SessionTimeout=0 and you start the browser you get an >> imidiate timeout error. I expect with SessionTimeout=0 an endless Session. >> > > A session running indefinitely is not a good idea. If user closes the > browser window without terminating the application, session will hang in > server's memory forever and in long term you'll have many "ghost" sessions > consuming server resources. > > If you want to keep session running as long as browser window is open then > put a dummy timer with a long interval so session will never timeout. > > . Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now