on 6/18/01 2:59 AM, "Gareth Coltman" <[EMAIL PROTECTED]> wrote:

> Jon,
> 
> As far as I can tell, by the time a screen or action class is called the
> HttpSession.isNew() method will always return false due to
> session attributes being set in Turbine.java. This means that is impossible to
> redirect someone to a "your session has expired"
> screen.

It is possible.

> What I need to do is redirect an anonymous user to a "Your session has
> expired" screen if their session has timed out. I could just
> catch the null pointer returned by the getTemp method, but this is a bit of a
> hack.

You would do this in your own SessionValidator.

-jon

-- 
"Open source is not available to commercial companies."
            -Steve Ballmer, CEO Microsoft
<http://www.suntimes.com/output/tech/cst-fin-micro01.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to