• 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

session value getting changed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic