是什么Request.ServerVariables之间的区别[" REMOTE_ADDR&QUOT]和Request.UserHostAddress? [英] What is the difference between Request.ServerVariables["REMOTE_ADDR"] and Request.UserHostAddress?
本文介绍了是什么Request.ServerVariables之间的区别[" REMOTE_ADDR&QUOT]和Request.UserHostAddress?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是 Request.ServerVariables的区别[REMOTE_ADDR]
和 Request.UserHostAddress
?
要么是这些变量不可靠相对于IP地址欺骗的?
Are either of these variables considered unreliable with respect to IP Address spoofing?
推荐答案
该.ServerVariables提供了与老ASP方法获取信息的兼容性。大多数通过提供的信息,现在通过单独的属性提供的。
The .ServerVariables is provided for compatibility with the old ASP method for getting that information. Most of the information provided through that is now provided through separate properties.
这篇关于是什么Request.ServerVariables之间的区别[" REMOTE_ADDR&QUOT]和Request.UserHostAddress?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文