Hi Volker , Thanks for it. I finally resolved the problem rewriting the URL myself :
String id = ";jsessionid=" + request.getSession(true).getId(); request.getSession().invalidate(); url += id; Ludovic ----- Original Message ----- From: "Volker Schneider" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 20, 2002 11:10 AM Subject: RE: URL Encoding > Hi Ludovic, > > you can have problems because the URL encoder probably does encode the > leading semicolon and the equals symbol of the URL if you use URL rewriting. > Maybe you have to write a short method which avoids encoding these leading > characters. > > Best regards > - Volker - > > -----Original Message----- > From: Ludovic de Beaurepaire [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 19. Dezember 2002 10:39 > To: [EMAIL PROTECTED] > Subject: URL Encoding > > > Hi All, > > In an Action i want to encode an URL on the HttpResponse to have the session > Id on this URL. > > url = > ((org.apache.cocoon.environment.http.HttpResponse)(ObjectModelHelper.getResp > onse(objectModel))).encodeURL(url); > > But my URL is not encoded. > > I don't find where to configure if encoding is needed or not. Help please ! > > I'm using tomcat-4.1.12 and cocoon 2.0.4. > > Ludovic > > > --------------------------------------------------------------------- > 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]> > > > --------------------------------------------------------------------- > 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]> > > --------------------------------------------------------------------- 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]>