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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...