检查用户已通过身份验证 [英] Check user is authenticated

查看:84
本文介绍了检查用户已通过身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户在浏览器中粘贴网址时,如何对用户进行身份验证。



例如:

http:// localhost:1234 / images / result.jpg



如果用户通过身份验证,那么他应该能够显示图像

解决方案

使用global.asax文件,并且可以实现Application_BeginRequest

事件,该检查用户是否经过身份验证。

How to checkuser is authenticated or not when user paste URL in the browser.

e.g.:
http://localhost:1234/images/result.jpg

if the user is authenticated then he should able to display the image

解决方案

Use global.asax file and , in that you can implement Application_BeginRequest
event in that check user is authenticated or not.


这篇关于检查用户已通过身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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