title: httpcontext. current.user.identity.name is empty
body: <p>I am trying to compare values of httpcontext.current.user.identity.name with the values stored in my sql database table. It works fine in my local machine. But httpcontext.current.user.identity.name is returning empty when the same website in hosted on server. In IIS "Allow anonymous access" is enabled and i don't want to disable it. There are many solutions available online but i am not able to find the once that's suits my requirement.</p>