Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Express Basics!
You have completed Express Basics!
Preview
HTTP is a stateless protocol. Learn more about what that means, and how to save state.
Documentation
- GitHub page for cookie-parser
- Documentation for res.cookie()
- Documentation for req.cookies()
-
HTTP cookies (MDN article)
Further Resources for Storing State
-
Using Local Storage with JavaScript (Treehouse workshop)
-
Using SQL and Node.js with Sequelize (Treehouse workshop)
-
SQL Basics (Treehouse Course)
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
that's our form will move to
after a user submits the name.
0:00
If I enter my name here, you can see
that I´m greeted by the app as before.
0:05
But notice, in the address bar, we're no
longer on the hello URL but the root URL.
0:11
The app has moved me to the welcome page.
0:19
When I'm ready, I can click on the Goodbye
button, which is actually another form.
0:22
And then I'm ushered
back to the hello page.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up