Set whether the Cookie is an HTTP only cookie or not.
# File action_controller/cgi_ext/cookie.rb, line 65 def http_only=(val) @http_only = val == true end
<code/>
<pre/>
<code/>and<pre/>for code samples.