|
|
|
|
|
by brianwawok
3542 days ago
|
|
How do you do it with a load balanced stateless web server? People have been doing this 10 years, most language should have some frameworks or plugins around it.... Common is to give the client a cookie with a session id (KJASDJKASDASDS) in a cookie. Then in a RDBMS you store this (session KJASDJKASDASDS = User 1234)... and the first part of each web (or lambda call), you go look up the user by session and know who it is. (You can also store the user ID directly in an encrypted cookie, but that has a few other problems) |
|