This project is archived and is in readonly mode.

#4211 ✓committed
Mathias Biilmann

Deleting and then setting a cookie in the same request doesn't work

Reported by Mathias Biilmann | March 18th, 2010 @ 12:25 AM

When first deleting and then setting a cookie during the same request, the cookie doesn't get set.

I've attached a patch against the current rails with a testcase replicating the error.

Got hit by it when trying to use restful authentication with Rails 3 - the cookie with the remember_token never gets set.

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


Referenced by