By default what will be the expiration time of a cookie added using C# code?
HttpCookie myCookie= new HttpCookie(\"myCookie\"); myCookie.Value = txtC
20 minutes. In IIS, click on your website, and go to Session State. In the second box (Cookie Settings), you can change the time out(in minutes).