Class 11 Prep Review
Here are some review questions for you to solidify your knowledge of the concepts covered in this class:
Since HTTP is stateless, how is state preserved across requests?
What data type does
Describe how cookie-based sessions work in Flask.
Can you set a cookie for a different domain?
If you do not set an
expiresparameter when will your cookie expire?
- Define a
cookieand describe why they are useful.