如果用户不可用,如何再次使应用程序返回登录表单 [英] How to make Application again back to login form if the user is not available

查看:90
本文介绍了如果用户不可用,如何再次使应用程序返回登录表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的专家!

我在asp.net C#,SqlServer 2005中有一个Web应用程序.
如果用户登录该应用程序并检查所有详细信息,但他没有注销该应用程序.

并且,如果用户无法访问该应用程序或他不在某个地方,则应该自动再次进入登录页面.

再次,用户应输入用户名和 PWD 密码以访问该应用程序.


u 可以帮助您.

Dear Experts !!

I have a Web Application in asp.net C#, SqlServer 2005.

If the user Login the application and checks all the details and he didnt log off it.

and If the Users is not Accessing the application or he went outside somewhere...It should automatically come to login page again.

Again the User should enter Username and PWD Password to access the application.


Please can u you help me how to do this.

推荐答案

你好

看:
ASP. NET:将用户引导到登录页面,登录后将用户发送回最初请求的页面?
使用浏览器后退按钮进行ASP.NET身份验证登录和注销
Hello

Look at:
ASP.NET: directing user to login page, after login send user back to page requested originally?
ASP.NET authentication login and logout with browser back button


您使用会话状态.如果用户在Webconfig文件中设置的时间是idel一段时间,则该会话将销毁并再次出现在登录页面上.
you use session state. if the user is idel for some time which you set in Webconfig file , the session destroy and come again on login page.


这篇关于如果用户不可用,如何再次使应用程序返回登录表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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