1, disposed cookie:
on flask.Response the object, using the set_cookie ( 'cookie name', 'cookie value') to set the cookie
set_cookie source
key: cookie name
value: cookie value
max_age: the longest expiration time, in seconds
expires: the longest expiration time, timestamp (IE8 does not support the following)
path: the cookie valid url, all the default url under "/", that the current domain name you can use
domain: cookie valid domain name, the domain name is currently accessing the default settings when no
secure: If set to True, the cookie only in the https protocol in order to use
httponly: If True, then the cookie can be read browser taken, can not be read js
2, delete the cookie:
Response.delete_cookie ( 'the cookie name')