On Tue, 2 May 2000, Armand A. Verstappen wrote:

> I tried both mgd_auth_midgard("","",1) and mgd_auth_midgard("=","",1), but
> both did not give the desired result. I fixed this by sending a Set-Cookie:
> header in which I reset the expiration date to a date in the past. This gave
> me the desired results. Since I had to read the source to find out how the
> cookie is set (Netscape is very precise about receiving the exact cookie
> information), it may be a good idea to add a function that does the same,
> mgd_auth_midgard_delete(void);.

Or we could have mgd_auth_midgard("","",1) delete the cookie. I see no
problems with that.

> Also, I noticed that mgd_auth_midgard
> doesn't send the domain with the cookie. I may be wrong, but I think this
> could cause problems if I have www.blah.com in sitegroup 1 and
> www.blah.com/sub
> in sitegroup 2, because the path is set to '/' .

Don't know much about cookies. If you can tell me what to send I'll make
sure it gets sent.

Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to