This project is archived and is in readonly mode.
Setting session and cookie variables in same request breaks session in following request in Rails 2.3.9
Reported by omarqureshi | September 20th, 2010 @ 12:20 PM
Think this might be related to https://rails.lighthouseapp.com/projects/8994/tickets/4743-session-...
The problem is the same in that a newline is appended to the _session_id key and is thus causing the next request to create a new session.
Weirdly though I have not been able to replicate in a real application, but, only as part of IntegrationTest.
Comments and changes to this ticket
-
omarqureshi September 21st, 2010 @ 07:46 PM
Actually I lied, I did end up suffering from this in a real application just today.
-
omarqureshi September 27th, 2010 @ 09:25 AM
- Tag changed from rails 2.3.9, active_record_store, cookies, sessions to rails 2.3.9, active_record_store, cookies, patch, sessions
-
sds October 21st, 2010 @ 12:57 PM
- Tag changed from rails 2.3.9, active_record_store, cookies, patch, sessions to rails 2.3.10, rails 2.3.9, active_record_store, cookies, patch, sessions
+1 for this fix. The issue still exists in 2.3.10.
And not just for Active Record session store.
-
Aaron Patterson October 21st, 2010 @ 06:31 PM
- State changed from new to committed
- Importance changed from to Low
I've applied this to the 2-3-stable branch. Thanks!
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>