cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Rolappe" <>
Subject AW: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation
Date Tue, 28 Jan 2003 22:34:37 GMT
caching seems a better point than creating sessions while generating

I think this should be documented/added to the FAQ then. Just didn't why my
urls weren't encoded when creating my session via create-session="true",
until I found out about the way the pipeline was setup.

another thing is to modify the request logicsheet accordingly so that a
create-session="true" leads to corresponding code in the generated
generator's ;-) setup() method.

> -----Ursprungliche Nachricht-----
> Von:
> []Im
> Auftrag von Carsten Ziegeler
> Gesendet: Dienstag, 28. Januar 2003 16:42
> An:
> Betreff: RE: cvs commit:
> xml-cocoon2/src/java/org/apache/cocoon/transformation
> With the recent changes, the encode url transformer does not support
> caching anymore. In order to support caching the transformer *must*
> know, if a session is available or not; otherwise you might get
> wrong cached results or do not have the correct url encoding.
> I would really appreciate it if we could make the assumption
> from above so the transformer can support caching again.
> Apart from that, you will get problems if you create/destroy a
> session when the processing of the xml pipeline has started,
> therefore I can only give the advice to create a session
> in actions and nowhere else.
> Any other ideas?
> Carsten

To unsubscribe, e-mail:
For additional commands, email:

View raw message