Hacker News new | ask | show | jobs
by terabytest 4624 days ago
How would you do it with redis exactly?
1 comments

Same way ActionDispatch::Session::CacheStore does.

All session stores use a cookie to store a unique ID for each session...For most stores, this ID is used to look up the session data on the server, e.g. in a database table.

(obviously you'd substitute Redis for the database table mentioned above)