|
|
|
|
|
Re: Session timeout [message #124196 is a reply to message #124183] |
Tue, 10 March 2009 11:52 |
Eclipse User |
|
|
|
Originally posted by: benjamin.wolff.web.de
Hi,
regarding step 2: you can attach a listener to the current session, try RWT.getSessionStore().addSessionStoreListener(...).
In this listener you must implement the method beforeDestroy(...). This method is called immediately before the session
is destroyed. Maybe this is what you are looking for?! I had some serious headache about the whole session thingy because
the session management is done by the underlying servlet container which makes it quite hard to cope with it sometimes...
greetings,
ben
p-lex schrieb:
> I think you just have to call
> RWT.getRequest().getSession().setMaxInactiveInterval(-1); In your
> createUI method of you EntryPoint:)
>
> I have a simular problem:
>
> I want to restart the application when the sessions timeout is reached.
>
> I need some kind of session timeout event to call the workbench restart
> method.
>
> But is this method gona restart the rap session or just the workbench
> inside the the rap-session. So I suppose I have to restart the complete
> RAP-Session.
>
> Do somebody know how I can do it?
> The steps to solve it are:
> 1. Setting a Session time out (optional, I can keep the default time out)
> 2. Get a session time out event
> 3. Restart the rap-session
>
> I dont know how to solve the steps 2 and 3.
>
> best regards,
>
> p-lex
>
>
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03743 seconds