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

🤑 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

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

  • 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
    • Showing results for:
    • Python
    • Flask Basics
    • Character Builder
    • Set a Cookie
    • Close
  • Stacey Normington
    Stacey Normington
    5,861 Points

    code challenge cookies

    Posted on May 25, 2021 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 on Oct 18, 2020 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 on May 12, 2019 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 on Dec 30, 2018 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 on Jun 26, 2018 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 on Mar 18, 2018 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 on Feb 23, 2018 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 on Sep 6, 2017 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 on Feb 16, 2017 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 on Feb 6, 2017 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 on Jul 31, 2016 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 on Jun 27, 2016 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 on May 31, 2016 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 on Jan 24, 2016 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 on Sep 14, 2015 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 on Feb 12, 2015 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 on Feb 4, 2015 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 on Dec 5, 2014 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.