tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Urban" <jim.ur...@netsteps.net>
Subject Session Problem
Date Thu, 01 Feb 2001 20:41:03 GMT
This problem is happening on both Tomcat 3.1 and 3.2.1 on Windows NT with
Apache.  

I have a servlet based application that is having session problems.  The
browser front end includes an applet which uses HTTP protocol to send and
request data to and from the server.  Sometimes, not always, the servlet is
given a new session instead of the existing session whose id was sent from
the applet.  Here is an example of what the servlet is receiving:

HTTP METHOD:  POST
CLIENT IP:  ***.***.***.***
SESSION ID:  vqbuezrxy2
SESSION ID VALID:  true
SESSION NEW:  true
SESSION CREATION TIME:  Wed Jan 31 11:09:32 PST 2001
SESSION LAST ACCESS TIME:  Wed Jan 31 11:09:32 PST 2001
SESSION ID STORED IN COOKIE:  true
SESSION ID STORED IN URL:  false
REQUEST HEADER:
   content-type = [application/x-www-form-urlencoded]
   connection = [keep-alive]
   cookie = [JSESSIONID=buxhcnqsi1]
   accept = [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
   host = [***.***.***.***]
   content-length = [11]
   user-agent = [Java1.3.0]

(I typed the *'s over the IP address for security reasons).

As you can see, the session is new and has an id of vqbuezrxy2, while the
request header contains a cookie with a session if of buxhcnqsi1.  This
results in our servlet failing since the new session does not contain any of
the data the servlet needs.  We are a week away from going live and I must
resolve this issue.  Any fix or work around will be greatly appreciated.

Please reply to jim.urban@netsteps.net

Thank you,
Jim Urban
Project Manager
Netsteps Inc.
Suite 505E
1 Pierce Pl.
Itasca, IL  60143
Voice:  (630) 250-3045 x2164
Fax:  (630) 250-3046


Mime
View raw message