>From macperl@cfcl.com Mon Aug 14 08:08:19 2000 X-Sent-To: <macperl-webcgi@macperl.org> Received: from merle.it.northwestern.edu (merle.acns.nwu.edu [129.105.16.57]) by cfcl.com (8.9.2/8.9.2) with ESMTP id IAA28835 for <macperl-webcgi@macperl.org>; Mon, 14 Aug 2000 08:08:18 -0700 (PDT) Received: (from mailnull@localhost) by merle.it.northwestern.edu (8.8.7/8.8.7) id KAA03116 for <macperl-webcgi@macperl.org>; Mon, 14 Aug 2000 10:05:20 -0500 (CDT) Received: from bookinfo (bookinfo.infolab.nwu.edu [129.105.100.233]) by merle.acns.nwu.edu via smap (V2.0) id xma018607; Mon, 14 Aug 00 10:03:23 -0500 Message-Id: <4.2.2.20000814100348.00a17b30@merle.it.northwestern.edu> X-Sender: bct991@merle.it.northwestern.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Mon, 14 Aug 2000 10:05:57 -0500 To: macperl-webcgi@macperl.org From: Brian Teutsch <b-teutsch@northwestern.edu> Subject: Re: [MacPerl-WebCGI] Pop-up requester In-Reply-To: <3997B023.EE01DFA5@saga.co.uk> References: <200008121150.EAA17880@cfcl.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed At 09:38 AM 8/14/00 +0100, you wrote: >I wasn't actually thinking of Javascript when I posted my original question >about a pop-up requester. I was thinking more of the kind of pop-up requester >you get when you try to access a restricted directory. I don't think it's >done >through Javascript - I think it's at a lower level. (Our firewall does a >similar thing the first time we access the net in the morning). Although I don't know exactly how to implement it in perl, you're probably looking to return the WWW-Authenticate field. That's the header field that will cause the browser to request a username password, and return a 401 Error code if authentication fails. Brian Teutsch # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org