Here's my scenario. I created an application which uses Integrated Windows Authentication in order to work. In Application_AuthenticateRequest()
, I use HttpContext.Current.User.Identity
to get the current WindowsPrincipal
of the user of my website.
Now here's the funny part. Some of our users have recently gotten married, and their names change. (i.e. the user's NT Login changes from jsmith
to jjones
) and when my application authenticates them, IIS passes me their OLD LOGIN . I continue to see jsmith
passed to my application until I reboot my SERVER! Logging off the client does not work. Restarting the app pool does not work. Only a full reboot.
Does anyone know what's going on here? Is there some sort of command I can use to flush whatever cache is giving me this problem? Is my server misconfigured?
Note: I definitely do NOT want to restart IIS, my application pools, or the machine. As this is a production box, these are not really viable options.