应用程序注销问题 [英] application logout problem

查看:66
本文介绍了应用程序注销问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我的生产环境遇到问题,有时我的应用程序会连续退出
注销,在这种情况下我正在重新启动我的浏览器,然后再次运行

。请帮助我,因为它对客户的观点很重要,代理商无法正常支持。



我们正在使用实体框架,.net框架,sql 2008,并且还在负载均衡器上配置了应用程序。



等待回复...

Hi ,

I am facing a problem with my production environment , sometimes my application getting
logout continuously , in this case when i am restarting my browser then it's works again
. please help me out because it important for client point of view , agents not able to support properly .

WE are using entity-framework , .net framework , sql 2008 , and the application is also configured on load balancer .

Waiting for Reply ...

推荐答案

注销问题可能由于可能原因而发生。有些然后如下:

1.如果你在web.config中使用session,那么检查滑动窗口是否正常工作,不是,web.config的代码如下

< authentication mode =Forms>

< forms loginurl =〜/ Account / LogOntimeout =30slidingexpiration =true>





如果用户继续工作,滑动到期会增加退出的关系
logout porblem can be occure due to may causes .Some of then are as follow
1. if you use session in web.config then check sliding window work properlyor not, code of web.config are as follow
<authentication mode="Forms">
<forms loginurl="~/Account/LogOn" timeout="30" slidingexpiration="true">


Sliding Expiration increase tie of logout if user work continuessly


这篇关于应用程序注销问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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