Re: Session-Error-Page -> LoginPage
"Peter Müller" <[email protected]> Wed, 02 Feb 2011 12:49:41 +0100
| Newsgroups | gmane.comp.web.webobjects.woproject.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you very much! That solved my problem. Peter -------- Original-Nachricht -------- > Datum: Wed, 02 Feb 2011 12:37:38 +0100 > Von: Stefan Klein <[email protected]> > An: [email protected] > CC: [email protected] > Betreff: Re: Session-Error-Page -> LoginPage > 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 -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de