[Zope] 2.5 upgrade, Sessions - too clever for myself

Brad Clements bkc@murkworks.com
Tue, 12 Feb 2002 14:30:15 -0500


Rather than doing the 2.5 Session upgrade work-around, I thought I'd be smart and 
delete the session_data_manager before restarting Zope (after changing start to use 
zope-2.5 pythonhome rather than Zope-2.5b3)

No I keep getting AttributeError on request.SESSION.getSessionData()

Seems the SESSION object doesn't have this method anymore.

However if I create a new session_data_manager lower in the tree, and point that at a 
new transient object container in /temp_folder, then it works again.

However if I restart zope, the transient object I created disappears.

Seems to be a problem in /temp_folder/session_data, except that even if I create a new 
transient object /temp_folder/mysession and point the root session_data_manager 
object at it, I still get attributeError on getSessionData(0

Anyone have any ideas? Or do I need to go to a backup?


Brad Clements,                bkc@murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com               AOL-IM: BKClements