增加判断服务器类型;更新初始化数据sql

This commit is contained in:
2020-03-20 18:38:39 +08:00
parent ef6d9100ea
commit 712a7620d6
7 changed files with 2277 additions and 3055 deletions
+2 -1
View File
@@ -43,7 +43,8 @@ namespace COMCMS.Common
{
Expires = DateTime.Now.AddMinutes(expires),
Path = "/",
HttpOnly = true
HttpOnly = true,
SameSite = SameSiteMode.Lax
};
MyHttpContext.Current.Response.Cookies.Append(strName, strValue, op);//用户名
}