awkward silence |

Jun/05

20

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.

No tags

Comments are closed.

<<

>>

Theme Design by devolux.nh2.me