Hi Joe,

thx for the pointer, looks workable.
Will try it soon.

-moe

On Sun, 2007-09-23 at 23:08 -0700, Joseph Heck wrote:
> You can certainly access cookies manually and do with them as you
> like. That's how we've implemented a "remember who it was that last
> logged in from this computer" kind of feature.
> 
> There's a set_cookie() method on the request object that can do this
> work for you - but it's not thoroughly documented. I'd recommend
> looking at the code directly and maybe checking out this thread:
> 
> http://www.google.com/url?sa=t&ct=res&cd=4&url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fdjango-users%2Fbrowse_thread%2Fthread%2F7b65ff5783f71b9c%2Fa4079aa60e7dfa37&ei=GFT3Ro7tOKGegAPn49C_BA&usg=AFQjCNHCE35TvLu4ZdYy1SklwYZh8b_wqg&sig2=fPsOuIxzECnESDy_ZtHWqg
> 
> -joe
> 
> On 9/23/07, Mark Green <[EMAIL PROTECTED]> wrote:
> >
> > Hi list,
> >
> > I would like to have sessions normally timeout after
> > 8 hours, that is easily achieved by setting
> > SESSION_COOKIE_AGE in settings.py.
> >
> > But additionally I'd like to provide a checkbox to "stay logged
> > in on this computer until i log out" which shall make the
> > session immortal (remove expiry).
> >
> > Is there anything in the API to implement that or can I get
> > at the session-cookie meat to do it manually?
> >
> > I basically need to override the default from
> > SESSION_COOKIE_AGE for individual sessions.
> >
> >
> > -mark
> >
> >
> > >
> >
> 
> > 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to