There is no problem here per se. When you&#39;re logged in to the ZMI, your browser is authenticated using BASIC_AUTH. What cookiecrumbler does is allow you to log in via cookies instead. But if you&#39;re logged in via a BASIC_AUTH user (which your manager user is), then CC can&#39;t log that user out since that session is not cookie-based. The visitors to your site won&#39;t have this problem since they won&#39;t be logged in to ZMI.<br>
<br>Your best bet is simply to create a test user and use a different browser for your testing. For example user Firefox to be logged in to ZMI and use IE or Safari to be logged in as a test user to test the CC behavior. That&#39;s what I do...<br>
<br>- Thibaud<br><br><div class="gmail_quote">On Thu, Mar 12, 2009 at 10:31 AM, Dvir Bar-lev <span dir="ltr">&lt;<a href="mailto:dvir.b@puresight.com">dvir.b@puresight.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">My cookiecrumbler is indeed in a subfolder, is that the cause
than?</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">My zmi looks like this:</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Root folder</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">      Dvir folder – CookieCrumbler, log in forms, user folder</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">If that is the cause what do I need to do to make sure when I log
out the username returns to anonymus user than?</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I searched the web but couldn’t find any way to do it</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Thibaud Morel
l&#39;Horset [mailto:<a href="mailto:teebes@gmail.com" target="_blank">teebes@gmail.com</a>] <br>
<b>Sent:</b> Thursday, March 12, 2009 4:29 PM<br>
<b>To:</b> Dvir Bar-lev<br>
<b>Cc:</b> <a href="mailto:zope@zope.org" target="_blank">zope@zope.org</a><br>
<b>Subject:</b> Re: [Zope] CookieCrumbler question</span></p>

</div><div><div></div><div class="h5">

<p> </p>

<p style="margin-bottom: 12pt;">Is your cookiecrumbler
installed at the root of your site? or in a subfolder? If you&#39;re logged in to
the ZMI in the root of your zope site and execute a CookieCrumbler logout in a
subdirectory, you will still be logged in because you&#39;re using your manager
user (if memory serves me well though CC actually warns you of this if you try
to logout while logged in to ZMI...)<br>
<br>
- Thibaud</p>

<div>

<p>On Thu, Mar 12, 2009 at 6:55 AM, Dvir Bar-lev &lt;<a href="mailto:dvir.b@puresight.com" target="_blank">dvir.b@puresight.com</a>&gt; wrote:</p>

<div>

<div>

<p>Hi</p>

<p> </p>

<p>I used the CookieCrumbler plugin the make a log in.</p>

<p>I added the CookeCrumbler(standalone&gt; from the ZMI , and now I have a log
in form that acts oka but I want logout the user, so what I did was call the
logout function of cookiecrumbler like this:</p>

<p> </p>

<p>&lt;dtml-call expr=”logout()”&gt;</p>

<p> </p>

<p>And that does bring me to the logged_out dtml but if I push the back button
and return to the logged_in and press the refresh button I still get the result
as if the  user is till logged in.</p>

<p> </p>

<p>Do I have to do anything else besides calling the logout function to make
sure that the user is now back ti anonymus status?</p>

</div>

</div>

<p style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
Zope maillist  -  <a href="mailto:Zope@zope.org" target="_blank">Zope@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br>
**   No cross posts or HTML encoding!  **<br>
(Related lists -<br>
 <a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
 <a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a>
)</p>

</div>

<p> </p>

</div></div></div>

</div>


<br>_______________________________________________<br>
Zope maillist  -  <a href="mailto:Zope@zope.org">Zope@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br>
**   No cross posts or HTML encoding!  **<br>
(Related lists -<br>
 <a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
 <a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
<br></blockquote></div><br>