cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: How to do URL rewriting
Date Mon, 10 Jun 2002 15:00:29 GMT
> From: Volker Schneider [mailto:volker.schneider@danet.de]
> 
> 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

Yup.


> rewriting yourself, but in Request.java 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
I

As any other servlet.


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

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

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


Vadim


> Thank you, best regards
> - Volker -


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message