dcsimg
HTTPsession problem.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Yurik_Siva
Posted On:   Sunday, December 2, 2001 07:36 PM

Hi


Please I need help.
I'm using Tomcat3.2.3 and IIS for my project.

Unit test on my computer is going fine.
But on the server one application after

			

HttpSession session = request.getSession(false);

return NULL, like session does not exists. But all another
applications show that session exists.

What it could be?
Thanks.

Re: HTTPsession problem.

Posted By:   Bozidar_Dangubic  
Posted On:   Monday, December 3, 2001 05:10 AM

remove (false) from the call. request.getSession() will return a current session and only create a new one when the session does not exist. so I suggest you call request.getSession() instead of request.getSession(false). try that.
About | Sitemap | Contact