Jump to content

Endless session with SessionTimeout=0


Guest

Recommended Posts

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...