[Mono-aspnet-list] Authentification

Robert Jordan robertj at gmx.net
Tue Aug 11 09:38:10 EDT 2009


cvsSKA wrote:
> 
> Robert Jordan wrote:
>> cvsSKA wrote:
>>> Hello,
>>>
>>> I am using the HTTP-Authentification from Apache with PostgreSQL as the
>>> AuthDigestProvider.
>>> There exists an option to pass additional database attributes to the
>>> environment, which I want to use to pass the username to my ASP site.
>>> But, I can not read the environment variables named AUTHENTICATE_xxx from
>>> within my ASP site
>> How did you try to read the env vars?
>>
> 
> Just for the first tests, I simply iterate the results of
> Environment.GetEnvironmentVariables()
> 

Try HttpContext.Current.Request.ServerVariables.

Robert



More information about the Mono-aspnet-list mailing list