session.connect(cookie_key='your_key', compression_level=9)
and after that
session['a_key']='a_value'
--
Yep that did the trick, thanks Anthony!
On Monday, January 14, 2013 2:45:21 PM UTC-8, Mark Li wrote:
>
> I haven't found anything in the web2py documentation about setting the
> httponly attribute for cookies and sessions.
>
> For sessions, there is session.secure() to set the session cookies to
> For sessions, there is session.secure() to set the session cookies to
> secure, is there a similiar method to setting the httponly option for
> session cookies?
>
No.
> Also for regular cookies, the following would make the cookie secure
>
> response.cookies['mycookie']['secure'] = True
>
On Monday, January 14, 2013 2:45:21 PM UTC-8, Mark Li wrote:
>
> I haven't found anything in the web2py documentation about setting the
> httponly attribute for cookies and sessions.
>
> For sessions, there is session.secure() to set the session cookies to
> secure, is there a similiar method t
4 matches
Mail list logo