Theo mặc định, thời gian hết hạn của cookie được thêm bằng mã C# là gì?thời gian hết hạn mặc định của cookie
HttpCookie myCookie= new HttpCookie("myCookie");
myCookie.Value = txtCookie.Text;
// Add the cookie.
Response.Cookies.Add(myCookie);
Và cookie phiên hết hạn trong 14 ngày theo mặc định (trong Owin), xem mã ở đây https://github.com/yreynhout/katana-clone/blob/master/src/Microsoft.Owin. Security.Cookies/CookieAuthenticationOptions.cs # L24 – qub1n