public Method

Cookie.secure=(val)

Set whether the Cookie is a secure cookie or not.

Source Code

# File action_controller/cgi_ext/cookie.rb, line 60
def secure=(val)
  @secure = 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.