This project is archived and is in readonly mode.

#2535 ✓invalid

Cookie's expiration date is being ignored by Firefox

Reported by slnc | April 21st, 2009 @ 03:44 PM | in 2.x

Rails 2.3 uses dashes instead of spaces when specifying a expiration date (it used spaces at least until 2.1.2) so cookies's expiration dates are completely ignored at least in Firefox and any cookie set through Rails is lost at the end of the session.

Adding insult to injury I shall mention that rails 2.3 removed the ability to test easily test cookie's expiration dates so the only possible way is to hack around the headers.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket