[Zope-CMF] Loggin in a user based on the __ac_name and __ac variables
Mon, 22 Apr 2002 13:48:24 +0200
I have digged around a bit in the mailist archives and even tried a search
Am I the only one wondering how you log in a user on a CMF site using the
Cookie Crumbler ?
(Or am I just the only one that didn't find the answer? *S*)
I have narrowed my problem down to one solution:
I need to login in the user programmaticaly in order to make my MMMShop run
properly with my payment gateway.
In the normal procedures you have a form where the users enter an __ac_name
and an __ac_password (the un-encrypted password).
This gets passed to the logged_in script and the users are logged in (I
haven't figured out how so this is magic to me right now).
I have the __ac_name variable and the __ac variable (containing the
encrypted password) and want to login a user based on this.
I have tried setting 2 cookies containing the variables - no go.
I have tried setting the variables in the requst and redirect to the
logged_in script - no go.
So - what have I missed ?