Re: asp.net client idenification

From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 06/27/05


Date: Mon, 27 Jun 2005 12:00:23 -0700

Hello catweezle2010,

you have to disable anonymous access and enable integrated authentication
in IIS for the virtual directory.

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> Thanks Nicole!
> I tried it an there was no error message, but no value displayed. But
> I
> have the solotion:
> in web.config:
> <authorization>
> <deny users="?" /> <!-- Deny anonymous users -->
> <allow users="*"/> <!-- Allow all other users -->
> </authorization>
> in aspx:
> strUserName=User.Identity.Name