#10554: Response.set_cookie should allow setting two cookies of the same name.
-----------------------------+----------------------------------------------
Reporter: jdunck | Owner: nobody
Status: new | Milestone:
Component: HTTP handling | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------+----------------------------------------------
Since cookies have domain and path properties, this is a sensible thing to
do:
{{{
response.set_cookie('x', path='/foo/', expires=<some expired date>)
response.set_cookie('x', path='/bar/', expires=<some future date>)
}}}
It'd be nice if Django allowed this. Sadly, I think this would mean
moving away from Cookie.
--
Ticket URL: <http://code.djangoproject.com/ticket/10554>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---