(),
request.isRequestedSessionIdFromUrl()
request.isRequestedSessionIdFromCookie()
request.isRequestedSessionIdValid()
> -Original Message-
> From: Charlie Toohey [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 14, 2003 9:08 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat
Could the problem be this?
http://marc.theaimsgroup.com/?l=tomcat-dev&m=104246720928753&w=2
Charlie Toohey wrote:
Thanks. However, I am writing the cookie value to the log, and the cookie
value is identical for subsequent requests, yet Tomcat creates a new session
on each request. So it looks
-
From: "Charlie Toohey" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 4:24 PM
Subject: Re: Tomcat losing session
> Thanks. However, I am writing the cookie value to the log, and the cookie
> value is ident
Thanks. However, I am writing the cookie value to the log, and the cookie
value is identical for subsequent requests, yet Tomcat creates a new session
on each request. So it looks like it is parsing the headers correctly.
> I had a problem recently with a browser not setting Content-type correc
I had a problem recently with a browser not setting Content-type correctly. If
the Content-type is note set correctly, Tomcat can't parse the HTTP headers
(including the cookie), so it'll create a new one.
Charlie Toohey wrote:
> Infrequently, Tomcat is creating a new session on each request fro
Infrequently, Tomcat is creating a new session on each request from the same
cookie, when all of the requests should be in the same session.
I am logging the cookie and session ids to debug this. What I see is that a
request comes in with cookie JSESSIONID=X. Tomcat creates a new session, with