|
Loading Session Data in ConsoleWritten By: Ben Wyrosdick February 10th, 2009 |
If you need to get data out of the session into an object in console you can use the session object to inspect it. This example assumes you are using ActiveRecord as your session store.
CGI::Session::ActiveRecordStore::Session.find_by_session_id("some_session_id").data
you can find this session_id, for example, in the production.log file on each request.
Leave a Reply