🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Stacey Normington
    Stacey Normington
    5,861 Points

    code challenge cookies

    Posted May 25, 2021 7:08am by Stacey Normington
    Stacey Normington
    5,861 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    2 Answers

  • Harold Thompson
    Harold Thompson
    18,157 Points

    How to set parameters on set_cookie method? Flask Basics Challenge 3 of 3

    Posted October 18, 2020 8:21pm by Harold Thompson
    Harold Thompson
    18,157 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    1 Answer

  • Folorunsho Samuel
    Folorunsho Samuel
    812 Points

    The key should be treehouse but the value can be anything you want.?

    Posted May 12, 2019 7:51am by Folorunsho Samuel
    Folorunsho Samuel
    812 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    2 Answers

  • TSE YU
    TSE YU
    1,198 Points

    why I am still got the error message "Didn't get a 'treehouse' cookie", please see my code next.

    Posted December 30, 2018 8:10pm by TSE YU
    TSE YU
    1,198 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    0 Answers

  • Mike Siwik
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Mike Siwik
    Front End Web Development Techdegree Student 14,814 Points

    Flask Basics Challenge task 3 of 3

    Posted June 26, 2018 10:51pm by Mike Siwik
    .a{fill-rule:evenodd;}techdegree
    Mike Siwik
    Front End Web Development Techdegree Student 14,814 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    2 Answers

  • Millie Jack
    Millie Jack
    278 Points

    how to amke a cookie and need help task 3 of 3 pls help

    Posted March 18, 2018 8:15pm by Millie Jack
    Millie Jack
    278 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    0 Answers

  • Muhammad Ibrahim
    Muhammad Ibrahim
    1,361 Points

    Didnt get a treehouse cookie... What wrong am i doing here?

    Posted February 23, 2018 1:48pm by Muhammad Ibrahim
    Muhammad Ibrahim
    1,361 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    1 Answer

  • Joao Paulo Ramos
    Joao Paulo Ramos
    204 Points

    Write the code of Learning, but i don't next

    Posted September 6, 2017 1:45am by Joao Paulo Ramos
    Joao Paulo Ramos
    204 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    0 Answers

  • Alexander Lundqvist
    Alexander Lundqvist
    3,824 Points

    What is wrong here?

    Posted February 16, 2017 8:01pm by Alexander Lundqvist
    Alexander Lundqvist
    3,824 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    1 Answer

  • Paul Otieno
    Paul Otieno
    6,035 Points

    Set a cookie

    Posted February 6, 2017 10:09am by Paul Otieno
    Paul Otieno
    6,035 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    1 Answer

  • ronakeogh
    ronakeogh
    30 Points

    Explanation of cookies and how to set them?

    Posted July 31, 2016 11:46pm by ronakeogh
    ronakeogh
    30 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    0 Answers

  • Daniel Bowen
    Daniel Bowen
    8,577 Points

    Not clear what I'm doing wrong

    Posted June 27, 2016 9:39pm by Daniel Bowen
    Daniel Bowen
    8,577 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    1 Answer

  • Vlad Monea
    Vlad Monea
    3,394 Points

    How can i set a cookie with the key 'treehouse'? I am trying response.set_cookie('treehouse', 'random_value')

    Posted May 31, 2016 1:26pm by Vlad Monea
    Vlad Monea
    3,394 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    2 Answers

  • Rod MIky
    Rod MIky
    18,784 Points

    help please!!! I don't know what is the problem with my code. Thank you

    Posted January 24, 2016 3:07pm by Rod MIky
    Rod MIky
    18,784 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    1 Answer

  • MUZ140907 Wellington Maredza
    MUZ140907 Wellington Maredza
    3,014 Points

    cookies

    Posted September 14, 2015 9:58am by MUZ140907 Wellington Maredza
    MUZ140907 Wellington Maredza
    3,014 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    2 Answers

  • Ginny Pennekamp
    Ginny Pennekamp
    31,466 Points

    Having trouble with response.set_cookie

    Posted February 12, 2015 7:14pm by Ginny Pennekamp
    Ginny Pennekamp
    31,466 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    3 Answers

  • michaelangelo owildeberry
    michaelangelo owildeberry
    18,173 Points

    set a cookie on the response object using the response.set_cookie method. The key should be treehouse but value anything

    Posted February 4, 2015 2:46am by michaelangelo owildeberry
    michaelangelo owildeberry
    18,173 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    3 Answers

  • Dymy Nator
    PLUS
    Dymy Nator
    Courses Plus Student 2,403 Points

    save function, setting cookie

    Posted December 5, 2014 5:21pm by Dymy Nator
    Dymy Nator
    Courses Plus Student 2,403 Points
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.