I have not found a good solution yet. I am now on 9.a9 but same issue here, Did anybody solve it?
ago wrote: > Hi all, I am a newbie with TG. I am trying to use cookies so that an > identity session can last 24H even when the browser is restarted. I > have tried different things with little success. Following is my > current app.cfg > > [global] > visit.on=True > visit.timeout=86400 > visit.cookie.name="tg-visit" > visit.cookie.path="/" > visit.manager="sqlobject" > visit.soprovider.model = "gla.model.Visit" > identity.on=True > identity.failure_url="/login" > identity.provider='sqlobject' > identity.source="form,http_auth,visit" > identity.session.timeout=86400 > identity.session.cookie.name="identity" > identity.session.cookie.path="/" > identity.session.cookie.timeout=86400 > identity.soprovider.model.user="gla.model.User" > identity.soprovider.model.group="gla.model.Group" > identity.soprovider.model.permission="gla.model.Permission" > identity.soprovider.encryption_algorithm='sha1' > > It does not look like identity events (login/logout) change the cookie > in any way. I am not sure what I am doing wrong, or if I need to take > some further steps or modify the model or other code. I am now using TG > 0.9a8 with the model generated by the quickstart with identity on. > > PS I noticed that identity.source does not take 'cookie' as a valide > value. Also I saw some people have "secret_token" in their model which > is not present in the one prebuilt by the quickstart. Is it required to > have cookies working? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

