Scott Eade <[EMAIL PROTECTED]> writes:

Yes. And SessionValidator does exactly this. Are you clicking on an
action that is either login or logout? Are you using a session validator
(setting in TR.props).

I tested this here and it works fine.

        Regards
                Henning


>If I let a browser session expire with a page of a turbine
>application displayed but then click on a button that invokes
>an action I get the following in my log:

>2003-09-04 15:44:14,055 ERROR [Thread-18 ] pages.TemplatePage - Couldn't 
>map Template null to any Screen class!
>2003-09-04 15:44:14,075 ERROR [Thread-18 ] turbine.Turbine - 
>Turbine.handleException:
>org.apache.turbine.util.TurbineException: Couldn't map Template null to 
>any Screen class!
>    at 
>org.apache.turbine.modules.pages.TemplatePage.doBuildAfterAction(TemplatePage.java:155)
>    at 
>org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169)
>    at org.apache.turbine.modules.Page.build(Page.java:91)
>    at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:136)
>    at org.apache.turbine.Turbine.doGet(Turbine.java:796)
>    at org.apache.turbine.Turbine.doPost(Turbine.java:891)

>Since the session has expired there is no longer anything for
>TemplatePage to search for a template in.

>Wouldn't it be better if Turbine detected the case when a user
>was running without a session and to redirect the user to the
>login template?

>Scott

>-- 
>Scott Eade
>Backstage Technologies Pty. Ltd.
>http://www.backstagetech.com.au






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

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"Dominate!! Dominate!! Eat your young and aggregate! I have grotty silicon!" 
      -- AOL CD when played backwards  (User Friendly - 200-10-15)

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

Reply via email to