1 2 Previous Next 15 Replies Latest reply on Oct 24, 2010 1:23 PM by sykwitit Go to original post
      • 15. Re: Invalidate session on specific page
        sykwitit

        Shervin Asgari wrote on Oct 22, 2010 04:38:


        Try

        <page login-required="false" view-id="/pages/register/public/*">
        <navigation>
                    <rule if="#{not empty sessionContext.get('tooBusy') and sessionContext.get('tooBusy') == true}">
                        <redirect view-id="/pages/register/public/toobusy.xhtml"/>
                    </rule>
                </navigation>
        </page>
        


        Then you remove the other one.

        From the glance I can see the pages.xml looks a little strange.
        Remember that you cannot have a wildcard saying /pages/register/ is login required and
        then another saying /pages/register/public/
        is not login required.

        I am at least not sure what will happen.


        Thanks for your reply, but this doesn't work. I'm still looking for the right solution.

        1 2 Previous Next