~/talk

A Deep Dive Into Sessions

Talkat RailsConf 2017 · 2017-04-25..04-27· [ruby-on-rails, web-platform]
slides:none on file

Explains that Rails either stores full session data in a signed and encrypted cookie (JSON by default) or stores a short session ID in the cookie and keeps data in DB/cache/Redis; cookie mode hits an 4KB cookie limit and raises ActionDispatch::Cookies::CookieOverflow, cookie mode needs secret_key for signing, and config.force_ssl = true sets the secure flag; recommends mitmproxy for network debugging and tools like cURL/Postman/Paw; prefers CookieStore then CacheStore then DB and provides a gem to decode encrypted sessions.

AI-written summary · about

  1. 0:00Start
  2. 2:52NULL CHECKS
  3. 17:56Cookie Store
  4. 29:47Check your domain settings!
  5. 30:01Decrypt your cookies
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.