This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes session value getting changed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "session value getting changed" Watch "session value getting changed" New topic
Author

session value getting changed

Mrig Singh
Greenhorn

Joined: Oct 18, 2012
Posts: 1
Hi,
I am creating a session id (HttpSession session = request.getSession(true);) in login servlet and calling welcome page from there...printing session values in both the pages (<% System.out.println(session); %>.)

Though these session values comes same on my local machine and local tomcat server, when I run it on remote tomcat server I am getting two different session values. Is there any configuration setting in Tomcat which might affect this. I am using java1.6, Tomcat6.0.25, xml2.4.

(* I developed website on eclipse, Tomcat7. Which I changed to Tomcat6 due to remote server compatibility issues)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: session value getting changed
 
Similar Threads
Difference between Remote & Local
How to configure Tomcat 6 to use EJB 3 component deployed on JBoss server
difference in Local & Remote
Toc
Tomcat 6 configuration with JBoss 5 using JNDI call