Hi, can somebody explain to me why the following doesn't work in a python script: request.AUTHENTICATED_USER.logout() I get an AttributeError from Zope Andreas -- It is so very hard to be an on-your-own-take-care-of-yourself-because-there-is-no-one-else-to-do-it-for-you grown-up.
maybe because the user object does not have a "logout" method..? jens On Tuesday, May 6, 2003, at 13:18 US/Eastern, Andreas Pakulat wrote:
Hi,
can somebody explain to me why the following doesn't work in a python script:
request.AUTHENTICATED_USER.logout()
I get an AttributeError from Zope
Andreas
On 06.Mai 2003 - 13:37:31, Jens Vagelpohl wrote:
maybe because the user object does not have a "logout" method..?
Sorry forgot to mention that I use the LoginManager Product. This redefines UserFolger.py and there AUTHENTICATED_USER has a logout() method, but I still get the error.
On Tuesday, May 6, 2003, at 13:18 US/Eastern, Andreas Pakulat wrote:
Hi,
can somebody explain to me why the following doesn't work in a python script:
request.AUTHENTICATED_USER.logout()
I get an AttributeError from Zope
Andreas
_______________________________________________ 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 )
-- You are only young once, but you can stay immature indefinitely.
participants (2)
-
Andreas Pakulat -
Jens Vagelpohl