Re: Sessions: does set_expiry has a max value?

2010-01-14 Thread Pablo López
wrote: > On Thu, Jan 14, 2010 at 10:50 AM, Pablo López <plval...@gmail.com> 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 w

Re: Sessions: does set_expiry has a max value?

2010-01-14 Thread Pablo López
; the solution: > > http://groups.google.com/group/django-users/browse_thread/thread/323c... > > Gonzalo Riestra > > On 14 ene, 12:52, Pablo López <plval...@gmail.com> wrote: > > > > > Hi everyone! > > > In my login function in views.py I make

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: