RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Sessions Are Not Server Memory

Rails makes session[:user_id] = 42 feel like a hash write, but CookieStore serializes and encrypts session data into a browser cookie. This article traces that pipeline, the 4KB cookie limit, and why sessions should carry identity instead of application state.

URL: https://railsrevelry.substack.com/p/sessions-are-not-server-memory?r=4jsb

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in