Eclipse session timeout cannot be changed [message #635717] |
Wed, 27 October 2010 19:55 |
|
Hi all,
I've tried altering the session time out using the commands:
RWT.getSessionStore().getHttpSession().setMaxInactiveInterva l(60);
or
RWT.getRequest().getSession().setMaxInactiveInterval(60);
They don't need to make any difference to the session timeout, there seems to be a class staying connected to the webpage:
org.eclipse.rwt.internal.lifecycle.UICallbackServiceHandler
I've tried shutting down this thread so there are no 'Keep Alive' threads running on the webpage, but the session still does not timeout until the 30 minute window.
Eclipse RAP is deployed with tomcat instead of jetty.
Any ideas?
Thanks,
Darren.
|
|
|
Re: Eclipse session timeout cannot be changed [message #635907 is a reply to message #635717] |
Thu, 28 October 2010 15:04 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Darren,
do you have the UICallBack active? The session timeout will not work in
case of active UICallBack, because there is a pending request running
(blocked UICallBack request). That's why we suggest to activate the
UICallBack only when it is needed and deactivate it afterwords.
Best,
Ivan
On 10/27/2010 10:55 PM, dp337 wrote:
> Hi all,
>
> I've tried altering the session time out using the commands:
>
> RWT.getSessionStore().getHttpSession().setMaxInactiveInterva l(60);
>
> or
>
> RWT.getRequest().getSession().setMaxInactiveInterval(60);
>
> They don't need to make any difference to the session timeout, there
> seems to be a class staying connected to the webpage:
>
> org.eclipse.rwt.internal.lifecycle.UICallbackServiceHandler
>
> I've tried shutting down this thread so there are no 'Keep Alive'
> threads running on the webpage, but the session still does not timeout
> until the 30 minute window.
>
> Eclipse RAP is deployed with tomcat instead of jetty.
>
> Any ideas?
>
> Thanks,
>
> Darren.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03387 seconds