Re: Re: login with CVS accounts on docs.php.net
| From: | Jacques Marneweck | Date: | Fri, 11 Jun 2004 10:07:17 +0000 |
| Subject: | Re: Re: login with CVS accounts on docs.php.net | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.doc.web |
| Request: | Send a blank email to doc-web+get-41@lists.php.net to get a copy of this message | ||
On Fri Jun 11 10:57:43 2004 Nuno Lopes wrote:
> > A)
> >
> > - user CURL to post the username and data to
> > master.php.net/manage/user.php when the user
> > hits docs.php.net with a magic cookie, or tries to log
> > in there
> >
> > - if we get a magic cookie back, then we set it for the user
> > (if it is not already set) and note the trusted status of
> > that cookie in a session.
> >
> > B)
> >
> > - set up a token protected authentication page working with
> > GET method at master.php.net (with a token set up for just
> > this purpose)
> >
> > - this is easier to call, since it does not need curl magic,
> > and can only be called from a server knowing that token
> >
> > - but the end result is very similar. either we get the stuff we
> > need to set in the magic cookie, or not (in the body of the HTTP
> > response)
>
> I would prefer B) since its easier to do :)
I would prob do a combination of (a) + (b).
Regards
--jm
>
> Nuno
>
> --
> Documentation Website Mailing List (http://doc.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>