|Anonymous | Login | Signup for a new account||01-20-2021 20:59 PST|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0005179||[Resin]||minor||always||08-16-12 04:13||09-05-12 14:21|
|Summary||0005179: Setting cookies with maxAge(0) fails.|
We've been trying to set a cookie with maxAge(0), path=/ to space (" ")..
However we get this result in the response headers:
Set-Cookie:WSS_ORDER_UUID=" "; Path="/"
Note the " signs around space and path. also note Path is spelled with capital P, and there is no expiration date set.
We've tried with empty cookie "", but no expires header either.
This works in Resin3 where it sets:
Set-Cookie:WSS_ORDER_UUID=; path=/; expires=Thu, 01-Dec-1994 16:00:00 GMT
We've worked around the problem by using response.setHeader(..), but this not pretty.
Also reproducable on Resin 4.0.18, others not tested.
|08-16-12 04:13||kiilerich||New Issue|
|09-05-12 14:21||ferg||Note Added: 0006040|
|09-05-12 14:21||ferg||Assigned To||=> ferg|
|09-05-12 14:21||ferg||Status||new => closed|
|09-05-12 14:21||ferg||Resolution||open => fixed|
|09-05-12 14:21||ferg||Fixed in Version||=> 4.0.31|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.|
26 unique queries executed.