You do not need to apply encodeURL for regular URL not going through a servlet 
container. However, if unconditional.xml links to another part of your servlet, then 
you may loose your session. As a solution, you could write a file servlet and get your 
page as
/web-app/myFileServlet;jsessionid=snc8bkdsu1?load=/inip/xml/unconditional.xml

Dmitry R., [EMAIL PROTECTED]
Chief Architect, MetricStream.COM
Santa Clara, CA






-----Original Message-----
From:    Leon Nicholls [EMAIL PROTECTED]
Sent:    Fri, 11 May 2001 11:03:41 -0500
To:      [EMAIL PROTECTED]
Subject: Session problem


Hi 

I am having weird problems with sessions when I disable cookies. 

If I have a link like /inip/xml/unconditional.xml;jsessionid=snc8bkdsu1
(after applying encodeURL), I get the following response when you click
on the link 
404 Not Found: The requested URL
/inip/xml/unconditional.xml;jsessionid=snc8bkdsu1 was not found on this
server.

The page works as /inip/xml/unconditional.xml (only no session info as
expected) The page works fine with cookies enabled. 

I am using Apache 1.3.14, Tomcat 3.2.1 and Cocoon 1.8.2 on NT2000.

Leon Nicholls                   INtelligentIP Division
Sonus Networks, Inc.            Tel: (972) 728-8953
Suite 3000                      Fax: (972) 301-4901
1701 N. Collins Blvd.           www.sonusnet.com
Richardson, TX 75080            www.inippowered.com




___________________________________________________________________________
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.

Reply via email to