Rapid Flask Tutorial: Adding User Sessions | packtpub.com

662 views · Published 20 November 2014 · 4:29 · Indexed 10 November 2026

Channel: Packt · 2014 · Science & Technology

Watch on YouTube

Part of Rapid Flask video series. For the full Course visit:
http://www.packtpub.com/application-development/rapid-flask-video?utm_source=youtube&utm_medium=video-description&utm_campaign=yt-rapidflask

The user shouldn't have to search for the same city all the time. We'll remember the user's default city using cookies and display this by default. 
o Create a response object instead of rendering the template directly 
o Read any existing cookies 
o Add a checkbox to allow the user to choose whether or not to set the cookieum 
______________________________________________________________________

For the latest in application development video tutorials, please visit:
http://www.packtpub.com/books/video?utm_source=youtube&utm_medium=video-description&utm_campaign=yt-rapidflask

Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

More from this channel