Background: Using ActiveRecordStore to manage session data. The
session_id for a request will occasionally not match the session_id
passed to the database backend, causing all subsequent requests to
fail. This is sporadic and cannot be reliably reproduced.
Example from logs:
Processing CommunityController#signin (for 9.65.2x.x at 2006-10-18
05:06:30) [GET]
Session ID: 2a3a53c1c1d2db8a94ffb7eb708df35f
Parameters: {"action"=>"signin",
"controller"=>"community"}
Rendering within layouts/community
Rendering community/signin
Completed in 0.01856 (53 reqs/sec) | Rendering: 0.01831 (98%) | DB:
0.00000 (0%) | 200 OK [http://localhost/community/signin]
TypeError: wrong argument type false (expected Data): SELECT * FROM
sessions WHERE (session_id =
''3bf9ddbf9110b9bac12cf960333c90e3'') FETCH
FIRST 1 ROWS ONLY
The session_id 2a3a53c1c1d2db8a94ffb7eb708df35f is correct and valid.
The value in the SQL is not - doesnt exist in the database at all.
Any clues?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---