On Thu, Apr 05, 2001 at 09:44:22PM +0200, Emiliano wrote:
> Adam Sherman wrote:
> 
> > > > I think a form-based logon with a popup menu for context is fine.
> > >
> > > That's allready possible.
> > 
> > Oh? Sorry then, how do I set that up?
> 
> Midgard will authenticate users in two ways: first, if the browser
> volunteers HTTP auth credentials (as received from the user with the
> usual popup window), it will match against that. If the authentication
> fails that's where the process stops.
> 
> If the page or host requires authentication but the browser doesn't
> volunteer credentials, Midgard will look for a cookie named
> MidgardLogin,
> which must contain the (uuencoded, I don't know if that's default
> for cookies) credentials as username:password (or
> username+sitegroup:password).
> 
> You can set this cookie with the regular PHP functions. Moreover,
> cookies
> are easier to expire so a relogin using this would actually work more
> reliably than with HTTP auth (which officially doesn't provide it and
> the browser fighting you all the way).

Ah. possible != coded! (-:

I will keep this in mind.

Thanks,

A.

-- 
Adam Sherman
President & Technology Architect
Tritus CGI
+1 (613) 255-5164

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to