Displaying 2 results from an estimated 2 matches for "legacy_session_t".
2008 Dec 25
2
Switching to active_record_store session management errors out
Hello,
Running Ruby 1.8.6 and Rails 2.2.2 against an Oracle XE database
(sigh).
I just upgraded Rails from 1.2.3 to 2.2.2, which made my cookie based
system for storing session information to error out due to the 4Kb
limit. So, I tried to turn on the active_record_store system by un-
commenting out the "config.action_controller.session_store
= :active_record_store" line in
2007 Jun 08
0
problem with rake db:sessions:clear and session_table_name
...on_controller/session/activerecord_store.rb
document this method for changing the session table_name:
# You may configure the table name, primary key, and data column.
# For example, at the end of config/environment.rb:
# CGI::Session::ActiveRecordStore::Session.table_name =
''legacy_session_table''
# CGI::Session::ActiveRecordStore::Session.primary_key = ''session_id''
# CGI::Session::ActiveRecordStore::Session.data_column_name =
''legacy_session_data''
I am using this method to set a custom table name in the database for
my sessions...