[Zope-DB] SESSION

Bo M. Maryniuck b.maryniuk at forbis.lt
Thu Oct 30 03:21:27 EST 2003


On Wednesday 29 October 2003 22:46, Dieter Maurer wrote:
> <mailto:zope at zope.org> would be better because ChrisM (session author)
> listens there...
Yes, probably I should... But this maillist is too high traffic.

>  > NOTE: I had mounted SESSION to the TempFolder and just to the ZODB
> ??? What ????

I mean, TransientObjectContainer is created in the root of the ZODB i.e. in 
FileStorage, not in memory. This is for Zope restarts and you have no broken 
session. Caveat: you can not do undo's then.

> This looks like normal session behaviour.
But not when session terminated after 1-2 minutes while it set to be alive 20.

> Please read the "session" section in the Zope Book (2.6 edition),
> for details.
Are you kidding me? ;-) 

I think there might be a problem because my stuff is registered before 
traverse in ZPublisher with a value 55 while session is registered with 50. 
Then just my stuff checks the session and if no one, clears. Maybe it is not 
crash. Currently I registered it with maximum level and a problem *probably* 
gone. But I don't know yet what this level means in advance. This is the 
relative order in which ZPublisher will call registered objects. But what 
means "relative"? Is it like "float" or something? Can it be messed up 
somehow / somewhen?

-- 
Regards, Bogdan M.Maryniuck

System programmer, Forbis UAB





More information about the Zope-DB mailing list