W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1996

Re: Authorisation handling...

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Tue, 05 Mar 1996 14:37:22 -0500
Message-Id: <9603051937.AA02183@www20>
To: Valery Brasseur <vb@goto.fr>
Cc: "'www-lib@w3.org'" <www-lib@w3.org>
Valery Brasseur writes:
> I have try to acces a page on a serveur which require authentification (Basic like NCSA).
> I would hope HTLoad return something like HT_NO_ACCES but it return a code -10 with message
> "UNKNOWN RETURN CODE" and construct a stream for www/debug
> Where is the problem ?
What version are you using? In the latest 4.0D the automatic handling of authentication
was taken out as many applications want to handle it differently. Therefore you should
get something like HT_NO_ACCESS (if I recall correctly) in your terminatation handler.
Oh, -10 _is_ actually HT_NO_ACCESS (which you will find in HTUtils.html. The problem 
with "Unknown return code" comes from  HTLoadTerminate() which hasn't been updated. It
doesn't mean anything...

Received on Tuesday, 5 March 1996 14:37:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:46 UTC