Is there a way to mark the cookie that Rails uses to store the
session-id as a secure cookie?
Thanks,
Ray
Is there a way to mark the cookie that Rails uses to store the
session-id as a secure cookie?
Thanks,
Ray
Hello Raymond,
On Oct 20, 1:58 am, Raymond O’Connor <rails-mailing-l…@andreas-
s.net> wrote:
Is there a way to mark the cookie that Rails uses to store the
session-id as a secure cookie?
Modify the ‘session’ line in app/controllers/application.rb as
follows:
session :session_key => ‘_myapp_session_id’, :session_secure => true
Best,
–
dubek
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