Daniel Jue wrote: > I would also like to see how this is done. Perhaps even with a > javascript popup telling the user the session is about to/has expired. > I imagine this type of "active checking" could be done through ajax, > or through a client side timer, rather than waiting for the user to > refresh a page and find out then. 4.0 already has this... http://tapestry.apache.org/tapestry4/tapestry-contrib/ComponentReference/Timeout.html > > Dan > > On 9/12/06, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> Hi. >> >> When the session expires, how can I handle this and redirect to a >> customized page saying "Your session has expired" >> >> In my BorderEngine class, I've tried this but maybe it's the wrong >> way, or the wrong place to put it >> >> protected void handleStaleSessionException(IRequestCycle cycle, >> StaleSessionException exception) throws IOException >> { >> cycle.activate("Expired"); // Trigger my customized >> session-expired page. >> } >> >> >> >> Thanks, >> Greg >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]