• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat session lost

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic