// if user
makes susccessful login then create cookie
// it creates
cookies and stores in to local computer
HttpCookie
cookie = new HttpCookie("www.google.com");
cookie["username"]
= "mr.khan";
cookie["password"]
= "123456";
Response.Cookies.Add(cookie);
// read this
cookie in login page_load event if it exists
HttpCookie
cook = Request.Cookies["www.google.com"];
string
uname = cook["username"].ToString();
string pwd = cook["password"].ToString();