I would probably work around this by creating a Product that gets a
hold of the app object in its __init__ and creates all the necessary
stuff. Actually, it would be kinda nice if instead of creating only
the session_data object in the temp_folder initialization code we
imported some (replaceable
On 6/20/02 4:01 PM, "Chris McDonough" <[EMAIL PROTECTED]> wrote:
>> So, why is the default Transient Object Container put in a
> Temporary Folder?
>> If I want to use an application specific one that doesn't get lost
> on
>> restart, is it OK to put it into a normal persistent folder?
>
> Yup.
>
> So, why is the default Transient Object Container put in a
Temporary Folder?
> If I want to use an application specific one that doesn't get lost
on
> restart, is it OK to put it into a normal persistent folder?
Yup.
The TOC is put into the temp folder mostly because:
1) Sessions are write-in
Under the category of "feigning smartness by blindly copying what I see", In
a subfolder of the Zope root, I set up a browser_id_manager, a
session_data_manager, a temp folder (cleverly named 'temp_folder'), and put
a Transient Object Container inside that temp folder, named 'tix_sessions'.
Of cou