[Zope] logout a user when he(she) goes out of a folder

Francois-regis Chalaoux Francois-regis.Chalaoux@sanofi-synthelabo.com
Thu, 10 Jan 2002 17:55:45 +0100


Hi, 
 
My root page (/index_html) contents 3 links : 
 
A/ Anonymous can follow every links in the folder where is base this first link. 
 
B/Only user with an authentication can follow the links inside the folder where is based this second link 
 
C/This third link brings to a CMF site. 
 
The problem : When a user follows links of second folder (B) and come back to the third folder, he(she) is identified as the 
authenfication of the seconde folder and cannot logout properly from CMF. 
 
What are the solutions to logout properly the user coming from (B) to (C). 
 
I tried to created a logoutuser method under root containing a call to logout and redirection to /index_html but it fails badly. 
The navigation in B content a link on this logout method (/root) 
 
Hope you know an answser. 
 
FR