cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@free.fr
Subject Re: Check if session is valid
Date Tue, 27 Apr 2004 14:00:52 GMT
Quoting Carlos Dias <cdias@pontoc.pt>:

> Hi,
> There is a way to check if a session is valid?!
> I know I can use the action type "session-isvalid" in all pipelines, but that
> is a little bit tricky.
> I want to define a default handler for the whole sitemap for an invalid
> session situation, but I can't find the right exception class to define
> in the exception selector.
> 
> Thanks in advance,
> Carlos Dias


maybe you could write :

<map:pipelines>
  <map:pipeline>
    <map:act type="session-isvalid">  
      <!-- all your pipelines nested here -->
      <map:match> 
         ... 
      </map:match>
      <map:match> 
        ... 
      </map:match>
      ...      
    </map:act>
    <!-- now, the pipeline handling invalid sessions -->
     ...
  </map:pipeline>
</map:pipelines>     
 
regards



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message