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
2010-04-21 03:52:48