会话过期问题? [英] Session Expire Problem?
本文介绍了会话过期问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正遇到session
的问题.
我的疑问是,如果会话过期,控件会自动进入登录"页面,还是我们需要手动检查页面事件?
如果在我的项目中自动重定向,则不会发生.
我在web.config
中添加了如下内容,
I am facing problem with session
.
My doubt is, if session expires the control automatically goes ''Login'' page or we need to check manually in page events?
If redirects automatically in my project it''s not happening.
I added in web.config
as follows,
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="Data Source=ashishcomp;User ID=sa;Password=sa"
cookieless="false"
timeout="20"
/>
推荐答案
也许阅读这些文章对您有帮助;
http://www.primaryobjects.com/CMS/Article86.aspx [ http://forums.asp.net/p/1104278/1685530.aspx [ ^ ]
用于重定向问题;
http://www.experts-exchange.com/Programming/Languages/. NET/ASP.NET/Q_23397441.html [
Maybe reading these articles helps you;
http://www.primaryobjects.com/CMS/Article86.aspx[^]
For your first doubt look at this;
http://forums.asp.net/p/1104278/1685530.aspx[^]
for the redirect problem ;
http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_23397441.html[^]
这篇关于会话过期问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文