Timeout in sessions ?
Hello, I have implemented session-based login in a CMF site. Everything works - untill we change the timeout in the Session Data Container. Not that anything fails - but the timeout isn't changing. I change the default value of 20 minutes to 120 minutes. But after some time it's back to 20 minutes .. Anyone else who has experienced this behaviour ? -- Gitte Wange Technical Manager Email: gitte@mmmanager.org Web: http://www.mmmanager.org Tlf: +45 36 46 20 02 Python 2.0 beta 1 is now available from BeOpen PythonLabs. There is a long list of new features since Python 1.6, released earlier today. We don't plan on any new releases in the next 24 hours. -- Jeremy Hylton, in the 2.0b1 announcement, 5 Sep 2000
Gitte Wange wrote at 2003-11-5 10:17 +0100:
I have implemented session-based login in a CMF site. Everything works - untill we change the timeout in the Session Data Container. Not that anything fails - but the timeout isn't changing. I change the default value of 20 minutes to 120 minutes. But after some time it's back to 20 minutes ..
Anyone else who has experienced this behaviour ?
Yes, we did. It always happened after a Zope restart... We had to read the "Sessions" section in the Zope Book (2.6 edition). It told us about environment variables that control such session configurations. -- Dieter
Onsdag 05 november 2003 11:01 skrev du:
Gitte Wange wrote at 2003-11-5 10:17 +0100:
I have implemented session-based login in a CMF site. Everything works - untill we change the timeout in the Session Data Container. Not that anything fails - but the timeout isn't changing. I change the default value of 20 minutes to 120 minutes. But after some time it's back to 20 minutes ..
Anyone else who has experienced this behaviour ?
Yes, we did. It always happened after a Zope restart...
We had to read the "Sessions" section in the Zope Book (2.6 edition). It told us about environment variables that control such session configurations.
I have read that to. I presume you are meaning this page in the Zope Book: http://zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx ? I have read it again and I had missed the part about the environment variables - sorry Dieter ! -- Gitte Wange Technical Manager Email: gitte@mmmanager.org Web: http://www.mmmanager.org Tlf: +45 36 46 20 02 This guy is quite far up his own arse :-) -- Chris Withers on an article "Why Not Zope?", 30 Nov 2000
Gitte Wange wrote at 2003-11-6 09:28 +0100:
... Onsdag 05 november 2003 11:01 skrev du:
Gitte Wange wrote at 2003-11-5 10:17 +0100:
I have implemented session-based login in a CMF site. Everything works - untill we change the timeout in the Session Data Container. Not that anything fails - but the timeout isn't changing. I change the default value of 20 minutes to 120 minutes. But after some time it's back to 20 minutes ..
Anyone else who has experienced this behaviour ?
Yes, we did. It always happened after a Zope restart...
We had to read the "Sessions" section in the Zope Book (2.6 edition). It told us about environment variables that control such session configurations.
I have read that to. I presume you are meaning this page in the Zope Book: http://zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx ?
I have read it again and I had missed the part about the environment variables - sorry Dieter !
The environment variables are: 'ZSESSION_OBJECT_LIMIT', 'ZSESSION_ADD_NOTIFY', 'ZSESSION_DEL_NOTIFY', 'ZSESSION_TIMEOUT_MINS'
-- Gitte Wange Technical Manager
Email: gitte@mmmanager.org Web: http://www.mmmanager.org Tlf: +45 36 46 20 02
This guy is quite far up his own arse :-)
-- Chris Withers on an article "Why Not Zope?", 30 Nov 2000
-- Dieter
participants (2)
-
Dieter Maurer -
Gitte Wange