[Zope] Zope 2.7: You are not allowed to access 'SESSION' in this
context
Alec Munro
alec.munro@eoascientific.com
Tue, 29 Jul 2003 10:25:14 -0300
I cannot. I'm in the process of upgrading from 2.5.
What I have in my page template is a tal:define="sess request/SESSION",
which seems to be where the error is occurring.
Hmm, and it seems that the problem was that my page template had
text/xml as a content type. That seems a bit odd to me, anyone want to
shed some light?
Alec Munro
Chris McDonough wrote:
>Can you confirm that this worked under 2.6.X?
>
>On Mon, 2003-07-28 at 14:16, Alec Munro wrote:
>
>
>>I have a page template that is accessed via restrictedTraverse(), and
>>gives me an Unauthorized error when I try to access request/SESSION.
>>It doesn't seem to be directly related to restrictedTraverse(), because
>>I switched it for unrestrictedTraverse() and had the same problem.
>>Thanks,
>>
>>Alec Munro
>>
>>
>>
>>_______________________________________________
>>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 )
>>
>>