cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonny Sukumar" <>
Subject Re: URLs being encoded WITH cookies enabled
Date Mon, 25 Aug 2003 19:25:25 GMT

Good question, Joerg.  I was told by 1 or 2 other people on this list that 
the EncodeURLTransformer won't rewrite the links with the session ID if 
cookies are enabled.  Thus, they said, I could use <map:transform 
type="encodeURL"/> at the end of all of my pipelines with impunity.  It will 
work when it needs to work, and do nothing when cookies are enabled.

So I tried it, and now I notice links are being rewritten even with cookies 
enabled, both for Mozilla Firebird and for IE (IE is the most important for 
us by far).

Anyhow, 2 other reasons I'd prefer URL/link rewriting not to occur when 
cookies are enabled:
1.) It takes up precious time to parse a document and rewrite links.
2.) If someone closes the browser, the session is gone, whereas a cookie 
still remains even after closing the browser and can be used to re-establish 
the same session, provided the session is still valid on the server.

I might easily have some misunderstandings here, which is why I've tried to 
explain my current understanding.  Please point out any points on which I 
have erred.


>From: Joerg Heinicke <>
>I wonder why you don't abstain from cookies completely? If you use URL 
>encoding for some users why not for all? We disregard cookies in our 
>company completely because can potentially have switched them off.
>Sonny Sukumar wrote:
>>Hi guys,
>>I sent the below message a few days ago but didn't hear from anyone.  I'm 
>>not sure why the links are being rewritten, and I've verified that it 
>>happens with IE as well (again, with cookies enabled).
>>>I'm using the EncodeURLTransformer in all of my pipelines just before 
>>>serializing the output, but from what I read I thought it is only 
>>>supposed to encode URLs if cookies are disabled in the browser.
>>>I've confirmed that cookies are enabled for my browser (Mozilla Firebird 
>>>v0.6), but the URLs keep getting rewritten with a jsessionid parameter.
>>>What could be wrong?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

MSN 8: Get 6 months for $9.95/month

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

View raw message