asp.net中的Session Logout问题 [英] Session Logout problem in asp.net

查看:75
本文介绍了asp.net中的Session Logout问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在开发网络应用程序&几分钟后面临会话注销问题。



我在网络配置文件中设置会话超时如下:



Hi all,

I am working on web application & facing session logout problem after few minutes.

I have set session timeout in web config file as below :

<sessionState timeout="320" cookieless="false" mode="InProc"></sessionState>





同样在iis7服务器上,我设置了会话超时= 600分钟。



并设置空闲超时(分钟)的值为600在高级设置(应用程序池)中。





但会话在几分钟后到期,&在所有浏览器中都遇到同样的问题。





应用程序在本地服务器上工作正常。





请帮我解决这个问题。





对不起英语不好。





并提前致谢。



Also on iis7 server ,i have set session timeout = 600 mins .

And also set the value for Idle Time-out(minutes) to "600" In advanced settings (Application Pool).


But the session is expire after few minutes, & facing same problem in all browser.


Application is working fine on local server.


Please help me to sort out this problem.


Sorry for poor english.


And thanks in advance.

推荐答案

基于提供的详细信息,我只能说:

1.您的应用程序池正在回收,例如不活动,异常或配置

2.你需要看看再次根据你提到的价值观。它到处都是秒/分钟而不是所有混合?



[请接受/投票给你的答案或解决方案,以鼓励他人]
Based on the details provided, all I can say is:
1. Your app pool is recycling for anything such as inactivity, exception, or configuration
2. You need to have a look again at the values that you mentioned. Is it seconds/minutes everywhere and not all mixed-up?

[Please accept/up-vote answers or solutions that work for you to encourage others]


这篇关于asp.net中的Session Logout问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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