string sKey = txtUName.Text + txtPwd.Text; HttpCookie uidpwd = new HttpCookie("uidpwd"); uidpwd.Value = sKey; Response.Cookies.Add(uidpwd);
HttpContext.Current.Request.Cookies["uidpwd"].Expires = DateTime.Now.AddSeconds(1);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)