NEWS:

Uncategorized 20 Jun 2005 09:39 pm

Setting session temp directory

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.

Comments are closed.