分类:
.NET Core
//1.存储Cookie HttpContext.Response.Cookies.Append("key", 存储的值);//2.获取Cookie//定义一个输出值的变量 string usernme; bool bf= HttpContext.Request.Cookies.TryGetValue("usernme", out usernme); //获取Cook string values = usernme;
评价