instance method read_cookie

Ruby on Rails 2.2.3

Last seen in v2.2.3 Private — implementation detail, not part of the public API

Signature

read_cookie()

Read the session data cookie.

Source
# File actionpack/lib/action_controller/session/cookie_store.rb, line 153
    def read_cookie
      @session.cgi.cookies[@cookie_options['name']].first
    end

Defined in actionpack/lib/action_controller/session/cookie_store.rb line 153 · View on GitHub · Improve this page · Find usages on GitHub

Defined in CGI::Session::CookieStore

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close