25 Sep
2001
25 Sep
'01
9:42 p.m.
Juan Garcia Garcia writes:
i'm developing a site where there are about nine kind of users. When an user enter to the site, he is an Anonymous User, but i have a button that its purpose is to change of current user to another that exists in an acl_users folder. The user must enter the name and password of the user he wants to login as. You cannot easily use Basic Authentication for this. You need Cookie based Authentication. There are lots of User Folders that support Cookie based authentication. As an alternative, you can use Shane's CookieCrumbler.
When you use Cookie based authentication, you simply somehow define the form variables you find in the login form and submit to the corresponding action. Dieter