How can I store sessoin data in session DB using authlogic plugin in Ruby on Rails?
I need to store objects in session DB but authlogic plugin by default store session in cookie. It does not let access session DB table. I could not figure out how to change session store in authlogic plugin.
The session store is not managed by Authlogic. You can use any session store you like. To change it to DB store, you have to add:
ActionController::Base.session_store = :active_record_store
to your config/environment.rb file. Then, you must run: