A popup is possible, but tricky.  Certainly, you can figure out when a stale
session occurs:

>From AbstractEngine ...

/**
* Invoked by {@link #service(RequestContext)} if a {@link
StaleSessionException}
* is thrown by the {@link IEngineService service}. This implementation
* invokes
* {@link #redirect(String, IRequestCycle, ResponseOutputStream,
RequestCycleException)}
* to render the StaleSession page.
*
* <p>Subclasses may overide this method (without
* invoking this implementation). A common practice
* is to present an eror message on the application's
* Home page.
*
* @since 0.2.10
**/
protected void handleStaleSessionException(
StaleSessionException ex,
IRequestCycle cycle,
ResponseOutputStream output)
throws IOException, ServletException, RequestCycleException
{
redirect(STALE_SESSION_PAGE, cycle, output, ex);
}


----- Original Message -----
From: "Ivanhoe Abrahams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 3:27 AM
Subject: [Tapestry-developer] Session timeout


> Hi there
>
> I would like to know if tapestry has any mechanism to determine when a
> session has timed out.
> When this happens I would like to route the user back to a popup login
page
> after which he/she may
> proceed using the application again.
>
> Thanyou in advance
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.437 / Virus Database: 245 - Release Date: 2003/01/06
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
> are you planning your Web Server Security? Click here to get a FREE
> Thawte SSL guide and find the answers to all your  SSL security issues.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to