URL如何检查会话ID [英] How URL checks for Session ID
本文介绍了URL如何检查会话ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友,
我有个问题.举个例子,我有一个网站www.abc.com
现在,它包含需要用户提供登录信息的页面.
例如. www.abc.com/private_page.html
现在,如果用户不登录而打开上述链接(www.abc.com/private_page.html),则链接www.abc.com/private_page.html如何决定不打开.
Hello Friends,
I have a question. Take a example, i have a website www.abc.com
Now it contains pages that needs users to provide login information.
eg. www.abc.com/private_page.html
Now if a user open the above link(www.abc.com/private_page.html) without login then how link www.abc.com/private_page.html takes decision to not open.
推荐答案
在ASP.Net中,您需要使用表单身份验证.一旦编写了用于验证用户身份的代码,IIS将处理确保对请求进行身份验证的过程.在此处开始阅读. [
In ASP.Net you need to use forms authentication. IIS will handle making sure a request is authenticated once you have written code to authenticate the user. Start reading here.[^]
这篇关于URL如何检查会话ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文