Response.set_cookie should allow setting two cookies of the same name.
|Reported by:||jdunck||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.
Change History (14)
comment:2 Changed 7 years ago by jacob
- milestone set to 1.2
- Triage Stage changed from Unreviewed to Accepted
comment:8 Changed 3 years ago by aaugustin
- Owner changed from ccahoon to nobody
- Version changed from 1.0 to master