Keeping track of the currently logged in user is a challenge - as HTTP is, by definition 'stateless'. Hidden form fields, url rewriting and cookies are three common techniques for implementing sessions.
Using Sessions
Explore how we need to refactor the application to support sessions
Sessions UX
New forms needed to enable the user to signup / login
Creating Sessions
The API to create, access and destroy sessions.
Labs
Lab-7 Sessions
Introduce Sessions onto the Playlist application, enabling user accounts and cookie-based authentication.