Troy wrote:

> It wasn't an Apache variable from what I recall.
> 
> I believe it was one that the browser uses to maintain authentication
> when moving around within protected areas.


Well, Apache (or whatever webserver) is the one that passes those vrbls on
to the ENV (not the browser).  However some browsers set different vrbls
that may get passed on.  One wouldn't want to depend on these unless it
was in a closed system where only one browser was in use.


> I could be wrong.


Probably. :)  I tested the ENV content from a protected and non-protected
tree and those are the only two keys that were added (AUTH_TYPE REMOTE_USER).

NS also has these two from the browser that MSIE doesn't have (on my tests):


        HTTP_ACCEPT_CHARSET HTTP_KEEP_ALIVE

which really have no bearing.


>>-----Original Message-----
>>From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] 
>>Sent: Wednesday, February 06, 2002 2:41 PM
>>To: Troy
>>Cc: [EMAIL PROTECTED]
>>Subject: Re: [Perl-unix-users] %ENV key to determine 
>>authenticated user
>>
>>
>>Troy wrote:
>>
>>
>>>I remember someone posted a bit of code that read one of 
>>>
>>the ENV vars to
>>
>>>grab the current user logged into a .htaccess protected area.
>>>
>>>Does anyone have that code or remember what it was?
>>>
>>
>>On APache, there are only two vrbls normally set in addition the ones:
>>
>>
>>AUTH_TYPE = basic
>>REMOTE_USER = username



-- 
   ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
  (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to