On Fri, 11 Aug 2000, Mathias Bengtsson wrote:

> Does anybody know how the login is handled by GUF. I use cookie
> authentication and I get the loginptomt when I try to access a page that
> has authenticate permissions. But when I try to login I don't know how
> to get the user logged i.e I don't know how to set the cookie. Can
> anybody help me ?

Why do you need to set cookie on your own ? In typical case GUF sets it
for you if it had succesfully authenticated new user (your method
userAuthenticate has returned '1').
Anyway, probably it will work if you set this manually. The cookie is
named (AFAIR) '_guf', and has some random-looking content - a key
identifying user. You can look in source to see, how this content is


| `long long long' is too long for GCC |

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to