> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 5:41 PM
> To: [EMAIL PROTECTED]
> Subject: Re: cvs commit:
> xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation
> EncodeURLTransformer.java
>
>
> Zitiere [EMAIL PROTECTED]:
>
> > cziegeler    02/02/07 06:40:17
> >
> >   Modified:    src/scratchpad/src/org/apache/cocoon/transformation
> >                         EncodeURLTransformer.java
> >   Log:
> >   Improved encode transformer - it is now cacheable, if now session is
> > available
>
> <snip/>
>
> Do you think you've choosen the right implementation? Don't you
> think you have
> to use the sessionid as key value if cookies are disabled?
>
Hi "testuser" (or TDFKAG) :)

The commit message is wrong: it should read: "it is cacheable, if *no*
session
is available.

So I think the implementation is correct.

We could extend the transformer to be cacheable if a session is available by
using the id of the session as you suggest. But if we have 10000 user on the
system we end up with 10000 versions of the same document cached.
But I will extend the transformer to not encode the URLs if cookies are used
as then the URL rewriting does not apply.

Carsten


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

Reply via email to