asp.net Cookie 新增 删除 获取
2021-06-15 15:06
标签:ssi 获取 public stat 信息 保存 asp removes add asp.net Cookie 新增 删除 获取 标签:ssi 获取 public stat 信息 保存 asp removes add 原文地址:http://www.cnblogs.com/0819lsl/p/7274042.html //保存获取 Cookie
public class OperatorProvider
{
public static OperatorProvider Provider
{
get { return new OperatorProvider(); }
}
private string LoginUserKey = "LoginUser2017";
private string LoginProvider = Configs.GetValue("LoginProvider");
public OperatorModel GetCurrent()
{
OperatorModel operatorModel = new OperatorModel();
if (LoginProvider == "Cookie")
{
operatorModel = DESEncrypt.Decrypt(WebHelper.GetCookie(LoginUserKey).ToString()).ToObject
文章标题:asp.net Cookie 新增 删除 获取
文章链接:http://soscw.com/index.php/essay/94209.html