Guest Posted January 21, 2011 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 . Quote
Guest Posted January 22, 2011 Author 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. . Quote
Guest Posted January 23, 2011 Author 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. > > . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.