private void SaveCookie (string CookieName, string CookieValue) {HttpCookie myCookie = new HttpCookie (CookieName); DateTime now = DateTime.Now; // Set the cookie value myCookie.Value = CookieValue;. // Set the cookie expiration date myCookie.. Expires = now.addyEars (1); if (this.Response.cookies [cookiename]! = Null) this.response.cookies.remove (cookiename); // add the cookie. This.response.cookies.add (MyCookie) ;} private string GetCookie (string CookieName) {HttpCookie myCookie = new HttpCookie (CookieName); myCookie = Request.Cookies [CookieName]; // Read the cookie information and display it if (myCookie = null!) return myCookie.Value.; Else Return Null;} #Region Web Form Designer Generated Code Override Protected Void OnInit (Eventargs E) {// // Codegen: This call is required for the ASP.NET Web Form Designer. // InitializeComponent (); base.onit (e);} ///