It works fine here. I get two cookies (listed below): How can we set a longer expiration?
Name: session_id_w2a Content: None Domain: localhost Path: / Send for: Any kind of connection Accessible to script: Yes Created: Tuesday, October 16, 2012 4:51:00 PM Expires: When the browsing session ends Name: session_data_w2a Content: "a1cb[...]43FA" Domain: localhost Path: / Send for: Any kind of connection Accessible to script: Yes Created: Tuesday, October 16, 2012 4:51:00 PM Expires: When the browsing session ends marți, 16 octombrie 2012, 14:24:00 UTC+3, Massimo Di Pierro a scris: > > This is new in trunk and needs to be tested. Add this to your app: > > session.connect(cookie_key='mypassphrase') > > and sessions will be stored in cookies (like Flask does). Cookies are > encrypted with AES 32bites and signed with HMAC+SHA1. > > > --