On Mon, Sep 20, 2004 at 04:17:50PM +1000, Michael Lake wrote:
> See the public one at: http://www.caves.org.au/kid/users/search/simple
> e.g. enter Jenolan
> 
> Info for the public login is at http://www.caves.org.au/kid_intro.htm

you're using HTTP basic auth for your site, which works like this:

        1. a client makes a GET request for a URL

        2. the server responds with an Error 401; this response includes
        a WWW-Authenticate header, containing the authentication realm

        3. the client pops up a username/password dialog for the user
        for that realm (unless it's already asked for it). The client
        then makes another GET request for the same URL, but this
        time with an Authorization header containing a base64 encoded
        username:password pair.

        4. the server checks the authentication and serves the content
        accordingly.

hence, two GET requests per hit :) the first is challenged to
authenticate, the second responds to that.

Conrad.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to