Hi Vadim,

Yes, but how do i validate against a session attribute? The example
shows just request.getParameter("param"), Session.getAttribute gives an
error.

Is there anything I can do about the Cinclude?

Michael

-----Ursprüngliche Nachricht-----
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 12. August 2002 16:40
An: [EMAIL PROTECTED]
Betreff: RE: XSP Caching & Cinclude


> From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
> 
> Hi List,
> 
> can someone explain the miracles of XSP caching to me. In my case I
have
> a xsp generator, which includes data from the session, a taglib, and
> some static xml from the Cinclude transformer, I want at leat the
> Cincluded data to be cached.

In XSP, you decide what and how to cache. See cacheable.xsp in examples.

If you want to store several results of this XSP, you generate different
keys. Then, you provide validity for each of these results.

Vadim


> Michael


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to