3 ms·
I love this technique, I copied it from Amazon a while back and have been using it to avoid storing state in the database ever since, I love it. Also, Rails ha
by ryan-allen 12y ago
I love this technique, I copied it from Amazon a while back and have been using it to avoid storing state in the database ever since, I love it.
Also, Rails has done something similar with their sessions, ages ago, with the whole state being stored in the client with a secret on the server.
It's such a cool idea, and now there's the JWT [1] thing that you can use, and I use all the time these days.
[1] http://jwt.io/ http://jwt.io/