Jun/05
20
Setting session temp directory
· Posted by Tom in Uncategorized
Speaking of sessions…if you’re using the default PStore sessions, you can set the directory you want them in:
ActionController::CgiRequest::DEFAULTSESSIONOPTIONS[:tmpdir] = “#{RAILS_ROOT}/sessions/”
This will also help you keep in mind that you’ll have to go in there from time to time and clean em out.
No tags
