Logo Search packages:      
Sourcecode: zope-exuserfolder version File versions

def zope-exuserfolder-0.50.0::exUserFolder::exUserFolder::logout (   self,
  REQUEST 
)

Logout

Definition at line 1104 of file exUserFolder.py.

01104                                :
            """Logout"""
            try:
                  self.cache_removeUser(REQUEST['AUTHENTICATED_USER'].getUserName())
            except:
                  pass
            
            REQUEST['RESPONSE'].expireCookie('__ac', path='/')
            REQUEST.cookies['__ac']=''
            try:
                  acc = REQUEST['__aca']
                  self.cache_removeCookieCacheUser(acc)
                  REQUEST.cookies['__aca']=''
            except:
                  pass
            REQUEST['RESPONSE'].expireCookie('__aca', path='/')

            
            
            return self.docLogout(self, REQUEST)

      #
      # Methods to be supplied by Auth Source


Generated by  Doxygen 1.6.0   Back to index