Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Eclipse session timeout cannot be changed(Eclipse session timeout cannot be changed)
Eclipse session timeout cannot be changed [message #635717] Wed, 27 October 2010 19:55 Go to next message
dp337 is currently offline dp337Friend
Messages: 2
Registered: October 2010
Junior Member
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 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
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.
icon14.gif  Re: Eclipse session timeout cannot be changed [message #636373 is a reply to message #635907] Sun, 31 October 2010 20:09 Go to previous message
dp337 is currently offline dp337Friend
Messages: 2
Registered: October 2010
Junior Member
Thanks Ivan.
Previous Topic:org.eclipse.rap.ui
Next Topic:Closing browser or browser-tab after workbench close
Goto Forum:
  


Current Time: Thu Apr 25 07:33:05 GMT 2024

Powered by FUDForum. Page generated in 0.03387 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top