This project is archived and is in readonly mode.

#3056 ✓resolved
Alexey Borzenkov

SessionHash#update and SessionHash#delete are missing a call to load!

Reported by Alexey Borzenkov | August 15th, 2009 @ 02:39 PM

In file actionpack/lib/action_dispatch/middleware/session/abstract_store.rb update and delete are missing a call to load! before calling super. If the data was not loaded before these functions are called, then super will operate on an empty hash, and results will be discarded when it is loaded later. The attached patch should fix the problem.

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