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 - getCookies() in my servlets/JSPs does not return the session cookie
Summary: getCookies() in my servlets/JSPs does not return the session cookie
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 17:02 UTC by Ana.von Klopp
Modified: 2008-09-17 09:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...