private Method

CookieJar.set_cookie(options)

There's no documentation for this item.

Source Code

# File action_controller/cookies.rb, line 77
def set_cookie(options) #:doc:
  options["path"] = "/" unless options["path"]
  cookie = CGI::Cookie.new(options)
  @controller.logger.info "Cookie set: #{cookie}" unless @controller.logger.nil?
  @controller.response.headers["cookie"] << cookie
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.