如何在使用“单击一次"应用程序时避免Web超时 [英] How to avoid timeout in Web while using Click once application

查看:134
本文介绍了如何在使用“单击一次"应用程序时避免Web超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个网页,用户可以登录以在线进行工作.某些页面已被Windows单击一次应用程序替换.

现在我的问题是,当我从该网页的Windows应用程序中工作时,如何避免该网页超时?

当用户出于安全原因不使用该页面时,该网页具有超时功能(导致会话超时).
我正在使用C#.

:((:confused:

解决方案

否.Windows应用程序没有web.config文件.
Windows应用程序必须使网页保持活动状态. :(:((

将此代码添加到您的web.config文件中
< sustem.web>
< sessionstate timeout ="60">


Hi,

I have a web page where users login to do their work online. Some of the pages were replaced by windows click once applications.

Now the question I have is, how do I keep the web page from timing out when I am working in the windows application from that web page?

The web page has a time out function for users when they are not using the page for security reasons (cause session time out).
I am using C#.

:(( :confused:

解决方案

No. The windows application do not have a web.config file.
The windows app must keep the web page alive. :( :((


add this code in your web.config file
<sustem.web>
<sessionstate timeout="60">


这篇关于如何在使用“单击一次"应用程序时避免Web超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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