Setting session dir?


#1

How can I change where Rails saves its session files?
It’s currently putting them in /tmp as
ruby_sess.xxxx… I tried this line in my
environment.rb, but got a ‘premature end of headers’
error (nothing was logged in Rails’ log):

config.action_controller.session_store =
‘/tmp/rails’

thanks
csn


Yahoo! FareChase: Search multiple travel sites in one click.


#2

NM, found the answer!
http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionOptions

csn

— CSN removed_email_address@domain.invalid wrote:

thanks
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


Yahoo! FareChase: Search multiple travel sites in one click.