I wrote a test script in the Every event that the global.asax had to
offer. Here is the sequence of events and the value of Identity.Name
Application_Sta rt - NT AUTHORITY\SYSTE M
Global_BeginReq uest - PETRA\Administr ator
Application_Beg inRequest - PETRA\Administr ator
Global_Authenti cateRequest - PETRA\Administr ator
Application_Aut henticateReques t - PETRA\Administr ator
Global_Authoriz eRequest - PETRA\Administr ator
Session_Start - PETRA\Administr ator
Except Application_Sta rt the rest of the events have the value.
Do you have the following lines in your web.config file
<authenticati on mode="Windows" />
<identity impersonate="tr ue"/>
If you do not have then this may be the reason why you are not seeing
the actual User Name. And also check if you have disabled anonymous
login. If not you will be seeing this account.
Also make sure that you Unload the application/restart IIS everytime you
make test like this or you could change the global.asax or web.config
file to automatically restart the application.
Another tip : You can SHIFT + Right click on the Internet Explorer Icon
from the Task Bar to provide different credential when testing your
application.
HTH
Trevor Benedict R
MCSD
*** Sent via Devdex
http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!