会话在一段时间后过期 [英] Session gets expired after some time

查看:77
本文介绍了会话在一段时间后过期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用asp.net 2.0框架.在我的应用程序中,用户登录后,会话会在一段时间后过期.我在web.config中使用了以下行:-

I am using asp.net 2.0 framework. In my application,after user logs in, session gets expired after some time. I have used the following line in web.config:-

<

 

sessionState regenerateExpiredSessionId = " &"; 模式 = " &"; 超时 = " &"; />

sessionState regenerateExpiredSessionId="true" mode="InProc" timeout="1540"/>

但这没有帮助.

在我的项目中,我目前正在开发呼叫中心因此,如果用户丢失了会话,则他将无法更新数据,因为UPDATE方法无法获取该会话. 它给出了错误.因此,呼叫丢失了,从客户那里检索到的信息也丢失了.

In my project currently I am developing Call Center module So if user lost his session then he is unable to update data because UPDATE method does not get the session.So it gives error. So call gets lost and information which is retrieved from customer gets lost.

所以我需要用于维护会话的解决方案或在过期时重新生成它.任何帮助都会真的很感人

推荐答案

您好,

由于该论坛是针对Windows Workflow问题的,因此最好将其发布在以下论坛中: http://forums.asp.net .

As this Forum is for Windows Workflow issues, it would be better for you to post this in the forums at http://forums.asp.net.

Ed


这篇关于会话在一段时间后过期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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