<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=933135308-07012004><FONT face=Arial size=2>Ok. I've got
SimpleUserFolder all setup and working properly (even authing users against a
pgsql db which is cool). Since SUF only supports basic HTTP authentication
and I need to have a login form and use cookies to properly authenticate users
it was suggested that I use cookie crumbler. I've got that installed and I
sort of see how it all works but I'm not sure how to proceed at the
moment. Here's my folder structure:</FONT></SPAN></DIV>
<DIV><SPAN class=933135308-07012004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=933135308-07012004><FONT face=Arial
size=2>/folder/foo/index_html (this is the ZPT I've created (I've also
duplicated it as a dtml-document just in case I'm supposed to use a
dtml-document instead of a ZPT to make this all happen) that has a form
element in it so users can type in their username and password and login to the
protected portion of the website)</FONT></SPAN></DIV>
<DIV><SPAN class=933135308-07012004><FONT face=Arial size=2>/folder/foo/members
(this is the protected portion of the website)</FONT></SPAN></DIV>
<DIV><SPAN class=933135308-07012004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=933135308-07012004><FONT face=Arial size=2>What I need to do is
have users authenticate via the index_html page and be taken to <A
href="http://www.foo.com/foo/members">www.foo.com/foo/members</A>.
Additionally I need to display a message to the user if their authentication
fails (i.e. take them back to the index_html page and show them a msg that says
the username and password entered is not valid, please try
again).</FONT></SPAN></DIV>
<DIV><SPAN class=933135308-07012004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=933135308-07012004><FONT face=Arial size=2>I was told that if I
add a cookie crumbler instance in the same folder as the acl_users folder
(currently locate at /folder/foo/members/acl_users) basic HTTP
authentication would be disabled and cookies would be used. There are very
limited docs on this subject it seems.</FONT></SPAN></DIV>
<DIV><SPAN class=933135308-07012004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=933135308-07012004><FONT face=Arial size=2>How do I make this
happen?</FONT></SPAN></DIV></BODY></HTML>