ScriptSession variant

View: New views
2 Messages — Rating Filter:   Alert me  

ScriptSession variant

by fantasio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I would like to ask if there are plans to add a new session type to the distribution that does not time out due to inactivity but stays alive until the client session is closed.

I wrote such a kind for my application. Client and server do a ping-pong play ensureing that the client still lives if the user did not disconnect regularly. My sessions do consume a lot of memory, thus this is vital to keep the server not running out of memory due to dead sessions.

Regards,
Thomas

Re: ScriptSession variant

by Joe Walker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


That's a standard part of DWR 3, and should be in milestone 1 (out in the next few weeks)
It will require active reverse ajax, to be turned on, but since you can put that into polling mode, with a disconnectedTime of just slightly shorter than the script session timeout time, you should be fine.
I hope to release a second release candidate later on today.

Joe.

On Feb 12, 2008 9:32 AM, fantasio <schall@...> wrote:

Hi,

I would like to ask if there are plans to add a new session type to the
distribution that does not time out due to inactivity but stays alive until
the client session is closed.

I wrote such a kind for my application. Client and server do a ping-pong
play ensureing that the client still lives if the user did not disconnect
regularly. My sessions do consume a lot of memory, thus this is vital to
keep the server not running out of memory due to dead sessions.

Regards,
Thomas

--
View this message in context: http://www.nabble.com/ScriptSession-variant-tp15429289p15429289.html
Sent from the DWR - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...