[Zope] Sessions

Dieter Maurer dieter@handshake.de
Wed, 16 Jul 2003 21:32:28 +0200


drew nichols wrote at 2003-7-16 15:30 +1000:
 > session = context.REQUEST.SESSION
 > print session
 > session.set ('hello', 'world')
 > print session
 > return printed
 > 
 > What am i doing wrong with SESSIONs.
 > 
 > When i reload this page the SESSION is empty.
 > Shouldn't the key 'hello' be persistant in the SESSION (for the timeout time anyway)??

Usually, the session mechanism uses cookies to transmit the session
id. Maybe, you disabled cookies?


Dieter