> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>