如果用户直接键入URL,如何拒绝用户 [英] How to deny the user if the user type the URL directly

查看:69
本文介绍了如果用户直接键入URL,如何拒绝用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai,





我正在开发ac #web application.I我有Login.aspx页面。如果用户需要用户名和密码,他们去home.aspx页面。我怀疑,如果同一个用户直接在home.aspx页面输入URL,他们就不会去那个页面。怎么可以.Plz帮助我。





提前致谢

Hai,


I am developing a c# web application.I am having Login.aspx page.If the user entrs username and password they go to home.aspx page.My doubt is suppose if the same user type the URL directly in the home.aspx page they will not go to that page.How it can be done.Plz help me.


Thanks in advance

推荐答案

看看这个:如何-DO-I-防止-URL-入门and-redirect-the-user-to-login-page [ ^ ]


这篇关于如果用户直接键入URL,如何拒绝用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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