Lab 06 Exercises
![](./talk-0-exercises/exercises.jpg)
A review of the exercises in the last lab + a tour of the freecodecamp javascript lesson plan
HAPI Philosophy
![](./talk-1-hapi-philosophy/hapi-philosophy.png)
Introduce Hapi, positioning it within the spectrum for Node Frameworks. Identify Hapis' unique features.
Sessions
![](./talk-2-sessions-intro/c-sessions.png)
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.
Sessions in Hapi
![](./talk-3-session-in-hapi/session-in-hapi.png)
The hapi-auth-cookie provides cookie management for Hapi applications, facilitating creating, read and delete of secure browser based cookies.
Lab-7 Sessions
![](./book-sessions/img/main.png)
Incorporate sessions tracking into the app, defining a session strategy, protected and unprotected routes and cookie paramaters.