Hallo, The problem I have is how to manage session objects. I was using HappySession but I'm thinking of other solution more connected with ZODB. Are there any clear examples of Python scripts (I suppose this is the only solution) explaining how to create an instance and manage it. For example I have a class User, call constructor with initial data like name or whatever taken from database and get an ID which is kept in cookie. Then I manage the object using this ID. I don't know Python but I suppose that it is somehow possible. Other problem is the time of living. Of course I want all objects to die in specific idle time when additionaly they could flush all modifications to the external database. Best regards, Pawel Lewicki
Pawel Lewicki writes:
The problem I have is how to manage session objects.... I am not sure I understood what your problem is...
But there is an excellent documentation accompanying "CoreSessionTracking". It describes the API you can use from DTML and Python to "manage" sessions and related objects. Dieter
participants (2)
-
Dieter Maurer -
Pawel Lewicki