GitHub: https://github.com/unconv/rustcart
In today's video I implement sessions to my Rust shopping cart website, so that I can save the shopping cart on the disk and have separate shopping cart contents for different users.
00:00 Recap
00:55 How sessions work
03:13 Reading cookie from request
14:00 Generating a session ID
19:47 Setting session cookie
25:04 Saving sessions on disk
31:28 Implementing redirection