I'm trying to use a cookie to remember if a visitor has already seen a particular tutorial page on my site. The site is build using Flask.
The tutorial page gets loaded from flask routing so I thought it made sense to try and alter the cookie in the flask routing definition using the make_response and response.set_cookie function from the flask framework.
However, this (session) cookie is only for the duration of the session. I can't find any info on setting permanent/persistent cookies with flask. How can I do this with flask ?
Thanks!