Let me rephrase my question a bit:
I am facing this problem when I shut down
Tomcat, and then start the web-app again after typing the IP address into the address bar.
I don't change the URL while the web-app is running!
IOW, in my Web app, if i get the new request using
http://localhost previous session is reamining but if I get i get the new request using
http://IP addres previous session is destroyin and i am unable to access the attributes stored in session.