This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session value getting changed

 
Mrig Singh
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic