Furthermore, you can go as fancy as you like, including implementing an auto-login thing based on a cookie, and saving where the user is as persistent state (you could even postpone that until the session time outs) and then after a re-login redirect to that again.
Furthermore, (links to) bookmarkable pages never expire, which is a good thing to keep in the back of your mind for sections of your site where you expect the user to come in from nowhere (out of the session). Eelco On 1/31/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > what do you mean resume within the same context? > > one option might be to add an ajax behavior that pings the server, so the > session doesnt time out while the page is open in the browser. > > -igor > > > > On 1/31/07, Sean Sullivan <[EMAIL PROTECTED]> wrote: > > > > > > > > I'm building an Intranet web application that will run in Websphere. In a > nutshell, this is my situation: > > - Websphere has a 30 minute timeout for inactive sessions > > - users open their browser in the morning and expect to be able to use > the application on and off during the day > > - users may have idle periods that exceed 30 minutes (lunch, meetings, > etc) > > > > According to the Wicket FAQ, Wicket pages are stored in the HTTP session: > > > > "When new pages are created they are added to the session, when pages are > no longer needed they are expired (removed) from the session" > > > > My question is: What will happen when these users try to click on a Wicket > link after the HTTP session has expired? I don't want the users to see a > "your page has expired" message. I want the user to resume using the > application in the same context that they were in before the HTTP session > expired. Are there any best practices for this scenario? > > > > I studied the javadocs and I found the default error page > (wicket.markup.html.pages.PageExpiredErrorPage) > > as well as methods for changing the page: > > > > IApplicationSettings.setPageExpiredErrorPage > > IApplicationSettings.getPageExpiredErrorPage > > > > Cheers, > > > > Sean > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > easier. > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
