cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: How to do URL rewriting
Date Mon, 10 Jun 2002 15:00:29 GMT
> From: Volker Schneider []
> Dear colleagues,
> I tried to find out, how to do URL rewriting with Cocoon 2 when
cookies are
> switched off. I looked in several mails: Vadim said that you have to
do URL


> rewriting yourself, but in I can find a method
> boolean isRequestedSessionIdFromURL();

and isRequestedSessionIdFromCookie.

It just indicates where session ID was taken from.

> So it seems that cocoon supports URL rewriting in an unknown way. When

As any other servlet.

> have to do it myself, what is best practise to do that? How can I save
> session so that it survives between the requests, because I store some
> within the session. Did anyone of you do something like that?

1. Encode URLs in XSP:
<xsp-session:encode-url href="sessionpage">Follow

2. Use EncodeURLTransformer (this one sounds better then XSP approach)


> Thank you, best regards
> - Volker -

Please check that your question  has not already been answered in the
FAQ before posting.     <>

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

View raw message