Re: Session-Error-Page -> LoginPage
Stefan Klein <[email protected]> Wed, 02 Feb 2011 12:37:38 +0100
| Newsgroups | gmane.comp.web.webobjects.woproject.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Peter,
in Application override handleSessionRestorationErrorInContext.
/**
* @see
com.webobjects.appserver.WOApplication#handleSessionRestorationErrorInContext(com.webobjects.appserver.WOContext)
*/
@Override
public WOResponse handleSessionRestorationErrorInContext(WOContext
context)
{
WOComponent tOutPage = pageWithName("Main", context);
return tOutPage.generateResponse();
}
Stefan
Am 02.02.11 12:08, schrieb "Peter Müller":
> Hello experts,
>
> I'm developing a wo-application. An user have to login this page to see application's content. If an user stop working, session-timeout will kill the session within 30 minutes.
>
> If the user will work again, he get's an ugly session-timeout-error-Page.
>
> How can I handle it, that the user get referred to the login-page instead the session-timout-error-Page?
>
> I googled the problem, but I can't find it. Does anybody know, how to handle this problem, or does anybody know good keywords, so that I find the answer with google?
>
> Thanks a lot& sorry for my very bad english :)
> Peter Müller