Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SessionID Always Changes - Tomcat 4.1.24

843836Jul 21 2003 — edited Jul 22 2003
I have a simple test jsp page that puts a string into the jsp session and then pulls it out from another page. This works fine when I test it from the j2sdkee1.3.1 environment. And when I copy the folder containing these two test pages into a standalone Tomcat 4.1.24 environment they also work fine.

However, if I copy the two test pages to an existing web app (where I actually want to use session state) in the tomcat 4.1.24 environment the session ID is always different when I go from page to page or refresh the same page. As a result the session is never persisted from one page/refresh to the next.

What's up with Tomcat!?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2003
Added on Jul 21 2003
5 comments
125 views