Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Y B
14,136 PointsFlask cookies
I don't quite understand the challenge question below on cookies?
Set a cookie named "name" to "Treehouse"
resp = make_response() resp.set_cookie(----,----- )
Should it be something like? resp.set_cookie('name', ???)
2 Answers

Ken Alger
Treehouse TeacherY B;
Have you tried 'name'
in the first blank and 'Treehouse'
in the second?
Ken

Y B
14,136 PointsThanks I really thought I had tried that, but I just tried again and it works. Must have been a typo the first few times.

Josh Davis
24,227 PointsI had this issue too. I swear I also tried that first...and it said it was wrong. Hmm.
Y B
14,136 PointsY B
14,136 PointsI'm still stuck on this. I've tried every variation of name and Treehouse I can think of as the key and value for the cookie but still no luck. This is the last thing I have to do in this course.
Any mods have an idea what I'm doing wrong?
Thanks