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)?? Drew
Check the browser_id_manager object in the Zope root and make sure the cookie domain is set properly. If it is not set properly SESSIONs may behave like this. Kevin drew nichols wrote:
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)??
Drew
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
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
participants (4)
-
Chris Withers -
Dieter Maurer -
drew nichols -
Kevin Carlson