[Zope] Changing a Zope environment variable?
Chris McDonough
chrism@zope.com
Wed, 17 Jul 2002 20:52:40 -0400
You've successfully created a Python variable but you haven't set an
environment variable. ;-)
In Windows NT/2000/XP, I believe the incantation for setting
environment variables is either:
- Use the Settings -> Control Panel -> System -> Advanced ->
Environment Variables tab
and set a "system variable" by clicking "New"
or
- In your Zope's START.BAT file, insert on a line above any of the
others:
set ZSESSION_TIMEOUT_MINS=20
HTH,
- C
----- Original Message -----
From: "Michael Fox" <Michael@CenturySoftware.com.au>
To: "Jerome Alet" <alet@librelogiciel.com>
Cc: <zope@zope.org>
Sent: Wednesday, July 17, 2002 8:45 PM
Subject: RE: [Zope] Changing a Zope environment variable?
Thanks Jerome,
My Zope server is running on a Windows platform. After adding the
following entry in z2.py (assuming this is the right place to do
so)...
ZSESSION_TIMEOUT_MINS=180
And restarting the Zope WinNT service, the Transient Object
Container's
timeout value is still set to 20 mins?!
Michael
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Jerome Alet
Sent: Thursday, 18 July 2002 10:21 AM
To: Michael Fox
Cc: zope@zope.org
Subject: Re: [Zope] Changing a Zope environment variable?
On Thu, Jul 18, 2002 at 10:04:02AM +1000, Michael Fox wrote:
> how/where do I modify the value of a Zope enviroment variable?
in Zope's startup script. (/etc/init.d/zope with my Debian)
the ZShell software available from
http://www.librelogiciel.com/software/
also allows you to modify them while running, but possible collateral
damage of such an action remains to be investigated (anyway it works).
hth.
Jerome Alet
_______________________________________________
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 )
_______________________________________________
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 )