On 2/11/07, Todd Martin <[EMAIL PROTECTED]> wrote: > > I hunted around a bit and found a similar question, but no answer that > works for me. Currently I am required to log into my Turbogears > application each time I load the browser, but I would like the visit > cookie to be permanent rather than expire with the session. > > How can I set up Turbogears' Identity module to work like this?
are you aware of the security implications of that? the biggest issue is that the password needs to be stored on the local machine there is a thread on the trunk mailing list (a bit old) about implementing this, and there is some code too but nothing has landed on svn yet. http://groups.google.com.do/group/turbogears-trunk/search?group=turbogears-trunk&q=cookie&qt_g=Search+this+group > Thanks, > > Todd > > > P.S. I'm using SQLAlchemy and here are a few of my app.cfg settings. > > # Enable Visit tracking > visit.on=True > > # Number of minutes a visit may be idle before it expires. > visit.timeout=1440 > > # The name of the cookie to transmit to the visitor's browser. > # visit.cookie.name="tg-visit" > > # Domain name to specify when setting the cookie (must begin with . > according to > # RFC 2109). The default (None) should work for most cases and will > default to > # the machine to which the request was made. NOTE: localhost is NEVER > a valid > # value and will NOT WORK. > # visit.cookie.domain=None > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

