Read cookies values in asp.net c# (Windows authentication)
Hello.I have one page where I want to read cookies on page load to get user name and password.
I have "Windows" authentication in my web.config which I can't change.
How can I achieve that.
using System.Security.Principal;
var user = System.Web.HttpContext.Current.User;
var userName = user.Identity.Name;