增加判断服务器类型;更新初始化数据sql
This commit is contained in:
@@ -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);//用户名
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user