Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-15 Thread Chris McDonough
PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 14, 2002 11:53 PM Subject: Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How? Chris and Joachim - Maybe this is too simplistic of an approach ... but why not have the session data manager automatically create a new, session data

Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-14 Thread Chris McDonough
Joachim Werner wrote: Thanks for the hint. I'll try using a versioning storage, though it might be rather inefficient I guess? Most (all?) versioning storages are also undoing so you'll be keeping undo data that will need to be packed away. It's also hard to manage an undoing mounted

Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-14 Thread Joachim Werner
: Monday, January 14, 2002 9:03 PM Subject: Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How? Joachim Werner wrote: Thanks for the hint. I'll try using a versioning storage, though it might be rather inefficient I guess? Most (all?) versioning storages are also undoing so you'll

Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-14 Thread Joachim Werner
I have a slight correction to make (which doesn't change the message of this posting): - As the new sessioning code seems to be working within the transaction machinery, the SESSION.set action causes the mere display of an index_html page (that includes a session initialization method) to be

Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-14 Thread Chris McDonough
- I have an index_html method that calls an initializeSession method at the beginning to initialize certain session variables. (Is there another way to do this?) Yes, you can use an script to call when objects are added method in the transient data container related to the session in order to

Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-14 Thread Joseph Wayne Norton
Chris and Joachim - Maybe this is too simplistic of an approach ... but why not have the session data manager automatically create a new, session data container (temporary storage) for a given zope version. The session data manager can be optimized for the case of no version and then when and