调用方法,通用公共功能类库
调用方法:
smart_common_plus.SessionHelper.Add("key","value");//名称key,值value
smart_common_plus.SessionHelper.Adds("key", null);//名称key,值values
smart_common_plus.SessionHelper.Del("key");//删除名称为key的session 对象
smart_common_plus.SessionHelper.Get("key");//读取名称为key的session 对象值
smart_common_plus.SessionHelper.RemoveAllSession("key");//删除所有session对象 注销
调用方法:
smart_common_plus.SessionHelper.Add("key","value");//名称key,值value
smart_common_plus.SessionHelper.Adds("key", null);//名称key,值values
smart_common_plus.SessionHelper.Del("key");//删除名称为key的session 对象
smart_common_plus.SessionHelper.Get("key");//读取名称为key的session 对象值
smart_common_plus.SessionHelper.RemoveAllSession("key");//删除所有session对象 注销
![](https://i-blog.csdnimg.cn/blog_migrate/01f647ec116698a209fb51ac4d5a1089.png)
功能代码已经集成,可直接测试,100%可用
smartsofthelp 开发辅助优化工具
(smart_common_plus通用功能类库dll) 代码复用整理收藏(工具-MX复用代码工具宝典)
下载地址: https://pan.baidu.com/s/1t0ygDseBCM2VZYJ5fM-ZNg?pwd=8f34