I am creating a cookie and storing the value of username after succesfull login. How can I access the cookie when the website is opened. If the cookie exist I want to fill t
You may use Request.Cookies collection to read the cookies.
if(Request.Cookies["key"]!=null) { var value=Request.Cookies["key"].Value; }