[Zope] 2.5 upgrade, Sessions - too clever for myself
Chris McDonough
chrism@zope.com
Wed, 13 Feb 2002 10:01:34 -0500
One thing to try here is to get into the Zope debugger to delete the
offending hook and the session data manager that caused it:
$ cd lib/python
$ python2.1
>>> import Zope
>>> app = Zope.app()
>>> del app.__before_publishing_traverse__
>>> app._delObject('session_data_manager')
>>> get_transaction().commit()
Brad Clements wrote:
> On 12 Feb 2002 at 15:03, Matthew T. Kromer wrote:
>
>
>>>6. Created a DTML method as session_data_manager placeholder
>>>
>>>
>>I don't understand why you did step 6. It seems extraneous to me.
>>
>
> An earlier message in this thread suggested this. I'm not sure why. Probably because
> someone wanted their own session data manager and didn't want one automatically
> created that injected it's own SESSION into request.
>
>
>>What is the session_data_manager object that's reappearing? I trust it is
>>the right one?
>>
>
> Session Data Manager at /session_data_manager
> Btw, if I create my own Session Data Manager (named "mysession_data_manager"), I
> have the same problem. It works just after it's created, but if Zope is restarted it no
> longer works after restart.
>
>
>
> Brad Clements, bkc@murkworks.com (315)268-1000
> http://www.murkworks.com (315)268-9812 Fax
> netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
>
>
> _______________________________________________
> 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 )
>
--
Chris McDonough Zope Corporation
http://www.zope.org http://www.zope.com
"Killing hundreds of birds with thousands of stones"