Click to See Complete Forum and Search --> : Session


lives
December 31st, 2002, 04:14 PM
Hi
I have a servelet where i create a session using
HttpSession session = request.getSession(true);

From this servlet , i pass the request to a jsp .
I m able to access the session which was created in the servlet in this jsp.i have used
HttpSession session = request.getSession(false);


From this jsp i give action to another jsp.
In this jsp i dont have the objects in session which i have put in the previous page. I find that the httpsession object is different here.

Do u have any inputs on these??

capuccino
January 3rd, 2003, 06:04 AM
Sorry i'm not posting the answer here. I had this problem too (hope i've understood ur problem). I was using Tomcat 4.0. Which web server r U using? And it's strange that ur seeing a diff when ur connecting to a different DB. Are you SURE it's the SAME appln that ur connecting to the two DBs?
Would be grateful if i somebody answers the original question.