LOL :D may be till 2012 december 21st should be enought?
On 9/17/11, pbreit wrote:
> Unsafe and unnecessary. Wouldn't 10 or 20 or 50 years be ok?
Unsafe and unnecessary. Wouldn't 10 or 20 or 50 years be ok?
why do you advise against infinite logins?
On Sep 17, 12:55 am, pbreit wrote:
> Just set auth.settings.long_expiration to something big (in seconds). You
> don't want infinite logins.
Just set auth.settings.long_expiration to something big (in seconds). You
don't want infinite logins.
I don't know if there is an example posted yet but you could imitate
this code somehow:
http://www.web2py.com/examples/static/epydoc/web2py.gluon.tools-pysrc.html#Auth
Based on user login events you could use a very long time limit to
conserve the session
(Line 1021)
response.cookies[response.ses
5 matches
Mail list logo