public Method

Cookie.http_only=(val)

Set whether the Cookie is an HTTP only cookie or not.

Source Code

# File action_controller/cgi_ext/cookie.rb, line 65
def http_only=(val)
  @http_only = val == true
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.