Transient Object container/persistant add script?
Hi! I ran into the following problem: I'm using the Zope session machinery and want to use add- and del-scripts with the *temp_folder <http://localhost:9673/temp_folder/manage_workspace>/session_data <http://localhost:9673/temp_folder/session_data/manage_workspace> ** Transient Object Container*. I added them and it works very fine, but after restarting Zope the add/del scripts are gone. How can I make them survive a reboot?
Michael Fischer v. Mollard wrote:
I ran into the following problem: I'm using the Zope session machinery and want to use add- and del-scripts with the *temp_folder <http://localhost:9673/temp_folder/manage_workspace>/session_data <http://localhost:9673/temp_folder/session_data/manage_workspace> ** Transient Object Container*. I added them and it works very fine, but after restarting Zope the add/del scripts are gone. How can I make them survive a reboot?
Urm, the temp folder, as its name suggests, contaisn temporary data. That data will vanish when you restart Zope. Why do you want to put scripts in there? cheers, Chris
Chris Withers wrote:
Urm, the temp folder, as its name suggests, contaisn temporary data. That data will vanish when you restart Zope.
Why do you want to put scripts in there?
Surely, but the transient object container sitting in the temp_folder seems to be quite stable. And I'm not putting my scripts in the temp folder (may be a little bit unclear in my last message), but I added the references to the transient object container. I tried working with a transient object container in a regular folder, but that didn't work.
Note that I have also added a bit to the sessioning docs about this in "Setting Initial Transient Object Container Parameters" in http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions .stx . You may find the rest of the material helpful as well. - C ----- Original Message ----- From: "Michael Fischer v. Mollard" <mfvm@businessvillage.de> To: "Zope Mailinglist" <zope@zope.org> Cc: "Chris Withers" <chrisw@nipltd.com> Sent: Wednesday, August 14, 2002 9:23 AM Subject: Re: [Zope] Transient Object container/persistant add script?
Chris Withers wrote:
Urm, the temp folder, as its name suggests, contaisn temporary data. That data will vanish when you restart Zope.
Why do you want to put scripts in there?
Surely, but the transient object container sitting in the temp_folder seems to be quite stable. And I'm not putting my scripts in the temp folder (may be a little bit unclear in my last message), but I added the references to the transient object container. I tried working with a transient object container in a regular folder, but that didn't work.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
See the doc/ENVIRONMENT.txt file in your Zope installation and look for the environment variables named ZSESSION_*. HTH, - C ----- Original Message ----- From: "Michael Fischer v. Mollard" <mfvm@businessvillage.de> To: "Zope Mailinglist" <zope@zope.org> Sent: Wednesday, August 14, 2002 8:56 AM Subject: [Zope] Transient Object container/persistant add script?
Hi! I ran into the following problem: I'm using the Zope session machinery and want to use add- and del-scripts with the *temp_folder <http://localhost:9673/temp_folder/manage_workspace>/session_data <http://localhost:9673/temp_folder/session_data/manage_workspace> ** Transient Object Container*. I added them and it works very fine, but after restarting Zope the add/del scripts are gone. How can I make them survive a reboot?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Chris McDonough -
Chris Withers -
Michael Fischer v. Mollard