You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tornado Web Server
How would I go about making a cookie that expires once the browser is
closed? I've taken a quick look at the code in the
tornado.web.RequestHandler class and noticed that there are parameters
that allow you to specify expiration times, but I don't see anything
that allows you to specify that the cookie expires whenever the
browser closes.
Thanks!
Brian Browning
unread,
Aug 17, 2010, 2:47:56 AM8/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-...@googlegroups.com
The default setting for tornado cookies is to expire at end of session.
So you shouldn't have to do anything special,
just set the cookie, close your browser , and the cookie will be gone.
Li Hui
unread,
Aug 17, 2010, 3:15:43 AM8/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-...@googlegroups.com
I found the default expire time of set_secure_cookie
is one month.