Hi I use a custom MembershipProvider.
I want to know the current username during an application scenario, but when I try accessing HttpContext.Current.User.Identity.Name it always returns string.Empty.
Example:
bool x = User.Identity.IsAuthenticated; //true
string y = User.Identity.Name; //""
Am I missing something?
...
Go to the complete details ...