Hi,

I was using Tomcat 3.2.1 and switched to Catalina 4.0.3 (both on Windows
2000). Now my browser (IE6.0 on Windows 2000) gets no cookies anymore. It
seems that the session management ist now handled using URL rewritting and I
don't know why.
When I test my web application using Tomcat, I get the following response:

  HTTP/1.0 200 OK
  Content-Type: text/html
  Content-Encoding: gzip
  Set-Cookie2: JSESSIONID=k76kokd041;Version=1;Discard;Path="/"
  Set-Cookie: JSESSIONID=k76kokd041;Path=/
  Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java
1.3.0_02; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)

When I test my web application using Catalina and the same browser (just
restarted), I get the following response:

  HTTP/1.1 200 OK
  Content-Type: text/html
  Date: Tue, 07 May 2002 12:15:41 GMT
  Content-Encoding: gzip
  Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector)
  Connection: close

The problem is: I am not running without cookies and need them back. Is
there a config setting I have to make somewhere?

I have not configured my web application explicitely in the server.xml file.
When I do that similar to the settings for the "examples" context shipped
with Catalina, I also don't get any cookies for my web application. Though,
for the "examples" context Catalina generates cookies:

HTTP/1.1 200 OK
Content-Type: text/html
Date: Tue, 07 May 2002 12:30:19 GMT
Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector)
Connection: close
Set-Cookie: JSESSIONID=9CD291E4F769E034E28F2E97BF40FEDC;Path=/examples

Why for the "examples" context and not for mine? Does anybody know, how to
alter this behaviour and enforce cookies to be sent back to me for my web
application?

Cheers,

Vedran

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to