是否可以在.net中还原即将到期或过期的会话 [英] Is it possible to restore the about-to-expire or expired session in .net

查看:75
本文介绍了是否可以在.net中还原即将到期或过期的会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想将即将到期或过期的会话重新存储在我的.net Web应用程序中,这可能吗?
在此先感谢!!

Hello everyone,
I want to re-store the about-to-expire or expired session in my .net web application, Is it possible ?
Thanks in advance !!

推荐答案

如果将会话存储在进程内存中,则将无法恢复过期的会话.但是,如果确实将其存储在数据库中,则可以忽略过期的时间戳,并对其进行更多扩展.

这是有关会话存储的有趣文章探索会话ASP.NET
If you store the session in process memory then you won''t be able to restore expired session; however if you do have it stored in the database, then you can just ignore the expired time stamp and extend it some more.

Here''s an interesting article on session storage Exploring Session ASP.NET


这篇关于是否可以在.net中还原即将到期或过期的会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆