[ZCM] [ZC] 2345/ 1 Request "Zope doesn't handle multiple cookies with the same id"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Tue, 31 Jul 2007 23:57:48 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2345 Update (Request) "Zope doesn't handle multiple cookies with the same id" Status Pending, Zope/bug medium To followup, visit: http://www.zope.org/Collectors/Zope/2345 ============================================================== = Request - Entry #1 by dom_1 on Jul 31, 2007 11:57 pm Zope stores cookies keyed by their id, but browsers can present two cookies with the same id, set at different paths: from http://www.ietf.org/rfc/rfc2109.txt: "If multiple cookies satisfy the criteria above, they are ordered in the Cookie header such that those with more specific Path attributes precede those with less specific. Ordering with respect to other attributes (e.g., Domain) is unspecified." The first (i.e. most specific and therefore most relevant) cookie will be unavailable from Zope. This is a real problem when using cookie paths to manage multiple sessions with differing data depending on the locale. ==============================================================