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?