I did some more digging in the Turbogears code and have some more specific
suggestions. The expiration time for a visit is computed in the visit manager
in the function new_visit_with_key(). See turbogears/visit/sovisit.py or
savisit.py for their implementations of this function. To customize it, you
could either derive your own visit provider from one of these or you could
monkeypatch the existing classes. Your custom function would look at the
request (probably cherrypy.request.params) and decide whether to use the
default timeout or something else.
Barry
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---