views:

114

answers:

1

In Ruby on Rails, how do I set the session cookie's httpOnly setting to false?

+3  A: 

I figured this out. In /config/environment.rb include this code:

config.action_controller.session = { :httponly => false }

kingjeffrey