This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 41203

Summary: getCookies() in my servlets/JSPs does not return the session cookie
Product: serverplugins Reporter: Ana.von Klopp <avk>
Component: TomcatAssignee: Pavel Buzek <pbuzek>
Status: RESOLVED WONTFIX    
Severity: blocker CC: pslechta
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ana.von Klopp 2004-03-22 17:02:37 UTC
When I look at the request in the HTTP monitor, 
there is no session cookie, even though the 
session cookie is present in the cookie header, 
and the server clearly finds the correct session. 

This is because of an error in Tomcat - the coyote 
connector was erroneously modified to discard the 
session cookie as far as the Servlet API 
getCookies method was concerned. The error has 
been corrected (on or near March 19), but it's 
present in Tomcat 5.0.19 which is the server 
bundled with NB 3.6. 

So there is no error in the monitor (it reports 
the "real" data from the servlet APIs) nor in the 
tomcat integration, but I record the error for 
tracking purposes. 

Close the bug when we upgrade to a new version of 
Tomcat.
Comment 1 pslechta 2008-09-17 09:45:00 UTC
Closing as WONTFIX. New version of Tomcat (6.0) is bundled with NB now...