LaunchCode logo
  1. Contents
  2. 23. Cookies & Sessions

23. Cookies & SessionsΒΆ

  • 23.1. Keeping Track of Data Values
    • 23.1.1. Problem With Guessing a Number
    • 23.1.2. One Solution
    • 23.1.3. A Better Solution
  • 23.2. Cookies
    • 23.2.1. Cookie Ingredients
    • 23.2.2. How Cookies Work
    • 23.2.3. Check Your Understanding
  • 23.3. Flask Cookies
    • 23.3.1. Cookie Video
    • 23.3.2. Viewing Cookies
    • 23.3.3. Accessing Cookie Data
    • 23.3.4. Resources
    • 23.3.5. Check Your Understanding
  • 23.4. Flask Sessions
    • 23.4.1. What are Sessions?
      • 23.4.1.1. Cookies vs. Sessions
    • 23.4.2. Set Up Flask Sessions
    • 23.4.3. Strong Secret Keys
    • 23.4.4. Check Your Understanding
  • 23.5. Try It! Flask Sessions
    • 23.5.1. Clone the Repository
    • 23.5.2. Save Session Data
    • 23.5.3. Access Session Data
      • 23.5.3.1. Update the List Display
    • 23.5.4. Change Session Data
    • 23.5.5. Check Your Understanding
  • 23.6. Try It! Flask Sessions (Part 2)
    • 23.6.1. Add Form Entries to List
      • 23.6.1.1. Avoid Duplicate Entries
      • 23.6.1.2. Fix the Logic Error
    • 23.6.2. Delete Session Data
      • 23.6.2.1. Remove a Specific Value
    • 23.6.3. Final Touches (Optional)
  • 23.7. Exercises: Flask Sessions
    • 23.7.1. Part A: Clone the Repository
    • 23.7.2. Part B: Set the Numbers
      • 23.7.2.1. Display the Number Range
    • 23.7.3. Part C: Check User Guesses
    • 23.7.4. Part D: Finalize Form
    • 23.7.5. Part E: Optional Updates
  • 23.8. Project: Flask Sessions
  • ← 22.11. Project: Improve the User Experience
  • 23.1. Keeping Track of Data Values →

Back to top

Page Source