Re: Sessions: does set_expiry has a max value?

2010-01-14 Thread Pablo López
, Jan 14, 2010 at 10:50 AM, Pablo López wrote: > > I *did* search in this group... not in others :-) > > > Thank you anyway > > Ah, well for future reference, django-dev is specifically for the > development *of* django. For help with using django you should always > go

Re: Sessions: does set_expiry has a max value?

2010-01-14 Thread Pablo López
/groups.google.com/group/django-users/browse_thread/thread/323c... > > Gonzalo Riestra > > On 14 ene, 12:52, Pablo López wrote: > > > > > Hi everyone! > > > In my login function in views.py I make use of set_expiry function to > > set the cookie expriry time

Sessions: does set_expiry has a max value?

2010-01-14 Thread Pablo López
Hi everyone! In my login function in views.py I make use of set_expiry function to set the cookie expriry time depending on the selection of a "remember me" checkbox on the login form: if not form.cleaned_data["rememberme"]: request.session.set_expiry(0) else: request.session.set_expiry(2