4 ms·
How would you do it with redis exactly?
by terabytest 13y ago
How would you do it with redis exactly?
- nl 13y agoSame 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)