<div id="RTEContent">Thank you for your patience. Please do pardon my ignorance - am still at learning the learning stage.<br><br>Ch<br><br><b><i>Dieter Maurer &lt;dieter@handshake.de&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Infor Gates wrote at 2006-1-5 14:11 -0800:<br>&gt;Yes, after reading the source code.  However, my problem as I found out is that I do not know how to access the methods in CC from DTML. I am not well verse with Python (still learning though).<br><br>Please, read my messages carefully!<br><br>As "CookieCrumbler.logout" performs a redirect, it is usually better<br>not to call "logout" from a DTML method but activate it via an URL<br>(e.g. via a "logout" link or a redirect).<br><br><br>However, you can call the "CookieCrumbler" methods from DTML<br>like you call any other method:<br><br>     <dtml-call expr="your_cookie_crumber_name.logout()"><br><br><br>Note again that
 "logout" performs a redirect. You will usually not<br>see the result of your "DTML" page.<br><br>&gt; ...<br>&gt;Dieter Maurer <dieter@handshake.de> wrote: Infor Gates wrote at 2006-1-4 20:14 -0800:<br>&gt;&gt;I have a trying time using Cookie Crumbler 1.2 with Zope2.8.4 (windows version).<br>&gt;&gt;I could NOT figure out how to log out a user.  I have simplified to the orginal logged_out form to this:<br>&gt;<br>&gt;The "Cookie Crumber" has a "logout" method.<br>&gt;You should use it for the logout (and not try to emulate it yourself).<br>&gt;<br>&gt;You can activate it via an URL of the form:<br>&gt;<br>&gt;    url_to_your_cookie_crumbler/logout<br>&gt;<br>&gt;It will redirect to the "logout_page" (you can configure for<br>&gt;your "Cookie Crumbler".<br>&gt;<br>&gt;<br>&gt;-- <br>&gt;Dieter<br>&gt;<br>&gt;<br>&gt;<br>&gt;   <br>&gt;---------------------------------<br>&gt;Yahoo! Photos<br>&gt; Ring in the New Year with Photo Calendars. Add photos, events, holidays,
 whatever.</dieter@handshake.de></dtml-call><div id="RTEContent">Yes, after reading the source code.&nbsp; However, my problem as I found out is that I do not know how to access the methods in CC from DTML. I am not well verse with Python (still learning though).<br><br>Thank you.<br><br><b><i>Dieter Maurer &lt;dieter@handshake.de&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Infor Gates wrote at 2006-1-4 20:14 -0800:<br>&gt;I have a trying time using Cookie Crumbler 1.2 with Zope2.8.4 (windows version).<br>&gt;I could NOT figure out how to log out a user.  I have simplified to the orginal logged_out form to this:<br><br>The "Cookie Crumber" has a "logout" method.<br>You should use it for the logout (and not try to emulate it yourself).<br><br>You can activate it via an URL of the form:<br><br>    url_to_your_cookie_crumbler/logout<br><br>It will redirect to the "logout_page" (you can configure
 for<br>your "Cookie Crumbler".<br><br><br>--<br>&gt; <br>Dieter<br></blockquote><br></div><div><br>&gt; <br>&gt;  </div><hr size="1">Yahoo! Photos<br> <br>&gt;Ring in the New Year with <a href="http://us.rd.yahoo.com/mail_us/taglines/photos/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38087/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&amp;.dir=">Photo Calendars</a>. Add photos, events, holidays, whatever.<br>-- <br>Dieter</blockquote><br></div><BR><BR><p>
                <hr size=1> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=37474/*http://promo.yahoo.com/broadband/ ">Yahoo! DSL</a> Something to write home about. Just $16.99/mo. or less