Skip to main content

Posts

Showing posts from July, 2022

Log time Cookis asp.net

  HttpCookie Cookie = new HttpCookie("Client");                 Cookie["ID"] = ds.Tables[0].Rows[0]["UserName"].ToString(); ;                 Cookie.Expires=DateTime.Now.AddYears(2);                 Response.Cookies.Add(Cookie);