There doesn't seem to be any previous posts about this problem, I must
setting things up wrongly at very basics...
Firstly, the problem... I can't get session to persist with
active_record_store. I enabled (config.action_controller.session_store =
:active_record_store) in environment.rb and created the sessions table
at my MySQL database. When I do a session[:blah] = "blah" at the
controller, it does save it (encrypted/scrambled) in the DB, but it
doesn't persist in the session hash when I attempt to retrieve
session[:blah] later on.
I believe Rails/Rack somehow believes all my sessions are coming from a
different browser, does anyone have any clue?
I tried to use memcache store and dalli store as well, they failed at
"key too long" problem at the page load time, which also doesn't have
any previous posts on these forums... So I gave that up and am trying to
solve the above active_record issue as I need to move away from my
current Cookie based session store. I am at Rails 2.3.8.
Thanks for any insights,