重定向ot登录页面,如果用户从计算机空闲 [英] redirect ot login page, if user is idle from computer

查看:71
本文介绍了重定向ot登录页面,如果用户从计算机空闲的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



我在asp.net c#上做了一个webapplication。



这个当用户登录并使用此应用程序时,应用程序有登录页面访问。



他有时会离开计算机或闲置。所以它必须重定向到登录页面。



请你帮帮我



谢谢。

Hi friends,

I have made a webapplication in asp.net c#.

This application has login page to access, when user logins and uses this application.

for sometime he is away from computer OR sits idle. so it must redirect to login page.

Please can you help me

Thanks.

推荐答案

检查:

如果用户空闲1分钟重定向到登录页面 [ ^ ]

如果用户在asp中处于空闲状态,如何重定向到登录页面。净项目 [ ^ ]
Check:
if user idle for 1 minutes redirect to login page[^]
how to redirect to login page if the user is idle in asp.net project[^]


将会话超时设置为所需的值。

使用给定的登录页面设置表单身份验证



会话到期后,任何新请求都将自动重定向到登录页面
Set session timeout to the desired value.
Set forms authentication with given login page

Once the session expires, any new request will redirect to login page automatically


这篇关于重定向ot登录页面,如果用户从计算机空闲的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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