Chris H. wrote:
Okay, I can’t find any examples on how to PROPERLY turn off sessions.
I’m using Rails 0.14.3 with Apache. I’ve put ‘session :off’ into all
my controllers. Are there any other places I need to put it, because
I still see ruby_sess* files showing up in the /tmp directory on the
server and the sysadmin is giving me a lot of grief over it.
According to the release notes for the Release Candidate (RC2)
What you do is…
Easier session management
With the new config/environment.rb, there’s now a much easier way to
session stores. The most common store that people use instead of files
ActiveRecordStore. This store can be enabled simply by uncommenting its
definition and you can create the matching database table with rake
We’ve also made it easier to control when the application should track
sessions at all. To totally turn off the sessions for the entire
you can now do:
class ApplicationController < ActionController::Base
I’m not sure what to say if this method isn’t working for you.
haven’t tried this, so I can’t offer much more than this web page