Why does rails keep installing cookies on users machines, even if I am
not ussing th session variable for anything?
How do I stop this?
Thanks, Scott
Why does rails keep installing cookies on users machines, even if I am
not ussing th session variable for anything?
How do I stop this?
Thanks, Scott
i discussed this previously with the same question. If you dont want
the
_session_id cookie created, you have to disable sessions by putting
session :disabled => true
in application.rb
Adam
This doesn’t seem to work for me I’m still getting session cookies.
Rails version 1.1.2.
On 5/27/06, Adam D. [email protected] wrote:
i discussed this previously with the same question. If you dont want the
_session_id cookie created, you have to disable sessions by putting
session :disabled => true
in application.rb
Adam
http://api.rubyonrails.com/classes/ActionController/SessionManagement/ClassMethods.html#M000102
session :off
hmm maybe they have to be “off” and not “disabled” then ?
try
session :off
in application.rb
adam
session :off does the trick.
Thanks guys!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs