This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat session lost Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat session lost" Watch "Tomcat session lost" New topic
Author

Tomcat session lost

ahmet oguz
Greenhorn

Joined: Mar 08, 2006
Posts: 18
Hi,

I have a problem in my web application. I add jessionid on to url for not cokiee supported mobile devices. I have a page approvalpage which url is /approval.do that has a form. When this page open i put some objects in session. user enter some information on this form and form action url like this: /submit.do;jessionid=xxx&userinput=4567.

Sometimes when user clicks submit button on this form, jessionid(xxx) comes to tomcat but tomcat creates a new session(jsessionid:yyy) not use this one. So i have lost session objects which i put them in the approvalpage. But this is not happened evertimes. It is happened sometimes so some requests are crashed.

Why tomcat not use session that send from url with jsessionid and creates a new session? How can i solve this problem?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat session lost
 
Similar Threads
session issue
session stuff
Session Tracking with Url Rewriting
Session Time out problem
data struts 2 form being lost!!