[Zope] How do I logout using DTML

Dennis Allison allison at shasta.stanford.edu
Wed May 11 13:18:13 EDT 2005


Looks like your userfolder does not support a logout method as an 
inspection of the code would have established.  In fact, the 
only logout method that appears to be supported is in the 
App manager for the ZMI.   You may want to look at the code
and adapt it for your purposes.




On Wed, 11 May 2005, Allen Huang wrote:

> How do I logout current user using DTML
> I used <dtml-call expr="acl_users.logout(REQUEST)"> but it didn't work and zope gave me this.
>  
> Site Error
> An error was encountered while publishing this resource. 
> 
> Error Type: AttributeError
> Error Value: logout
> 
>  
> What did I do wrong??
> 
> 
> 
> 
> 		
> ---------------------------------
> Yahoo! Mail Mobile
>  Take Yahoo! Mail with you! Check email on your mobile phone.

-- 
Dennis Allison * Computer Systems Laboratory * Gates 227
               * Stanford University *  Stanford CA  94305
	       * (650) 723-9213 * (650) 723-0033 fax
	       * allison at shasta.stanford.edu
	       * allison at sumeru.stanford.edu




More information about the Zope mailing list