腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(788)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
Request.ServerVariables
函数
public static string Call() string ref1 = HttpContext.Current.Request.ServerVariables["HTTP_REFERER"];} {}
浏览 4
修改于2012-08-30
得票数 4
2
回答
Request.ServerVariables
抛出NullReferenceException
我有一个MVC3应用程序,它突然给了我一些奇怪的行为。首先是一些背景(虽然我会尽量使它尽可能简短)。public ActionResult Grid(ApplicationViewModel search = null) return this.ListView( this.CreateViewModel, mixins: new Dictionary<string, Func<EntityViewModel, object>
浏览 0
修改于2016-03-19
得票数 7
回答已采纳
1
回答
经典Asp中的
Request.ServerVariables
我尝试过:
Request.ServerVariables
("HTTP_REFERER")
Request.ServerVariables
("ALL_HTTP") 但是我没有得到搜索查询(q=)
浏览 22
提问于2019-09-20
得票数 0
2
回答
Request.ServerVariables
("HTTP_X_FORWARDED_FOR")与
Request.ServerVariables
("REMOTE_ADDR")的安全含义
假设我们正在跟踪web服务的最终用户IP:If ip = "" Then ip =
Request.ServerVariables
如果我们使用终端用户IP地址来过滤恶意用户,那么使用上面的方法而不是仅仅使用
Request.ServerVariables
("REMOTE_ADDR")是否有任何安全隐患?
浏览 0
修改于2009-10-22
得票数 3
回答已采纳
1
回答
获取
Request.ServerVariables
的值(“LOGON_USER”)
我正在尝试使用ASP.NET变量在我的
Request.ServerVariables
(“LOGON_USER”)页面中获得经过身份验证的用户名。它给了我一根空绳子。关于这个变量有很多主题。也曾尝试过:
Request.ServerVariables
["UNMAPPED_REMOTE_USER"];
Request.ServerVariables
浏览 11
提问于2014-11-13
得票数 0
1
回答
Request.ServerVariables
-它去哪了?
我试图在
Request.ServerVariables
Web的Api控制器中获取ASP.Net“REMOTE_ADDR”中的数据。但是服务器变量字典不见了。这些财产/数据仍然可用吗?
浏览 3
提问于2013-08-02
得票数 4
回答已采纳
3
回答
request.serverVariables
() "URL“与"Script_Name”
我正在维护一个经典的asp应用程序,在查看代码时,我遇到了两行类似的代码:' Output: "/path/to/file.asp"
Request.ServerVariables
浏览 0
修改于2012-09-14
得票数 6
回答已采纳
1
回答
类中模拟的
Request.ServerVariables
访问
我模拟了控制器中使用的Server变量。 .Returns(new System.Collections.Specialized.NameValueCollection {"SERVER_NAME","localhost"}, {"SERVER_PORT","80"},
浏览 2
修改于2011-12-05
得票数 2
1
回答
Request.ServerVariables
()用于.NET 6中的Shibboleth
我试图在一个使用.NET 6的站点上使用Shibboleth,而Shibboleth文档使用的是
Request.ServerVariables
(),但是当我添加它时,我会得到一个错误:"HttpRequest我的IServerVariablesFeature是寻找Shibboleth变量的合适位置,还是需要让
Request.ServerVariables
()工作?
浏览 3
提问于2022-06-02
得票数 0
回答已采纳
1
回答
Request.ServerVariables
["REMOTE_ADDR"]足够可靠吗?
目前我正在使用
Request.ServerVariables
"REMOTE_ADDR“从客户端获取IP。 当调用这个方法时,我得到了什么保证。或者我也应该看看其他的ServerVariables?
浏览 44
提问于2010-08-14
得票数 8
回答已采纳
1
回答
来自asmx服务的
Request.ServerVariables
(asmx)
在我的服务器端页面(intranet环境)上,我使用以下代码来找出哪个用户正在使用该页面:如何在use服务(asmx文件)中使用该命令
浏览 0
提问于2011-08-04
得票数 2
回答已采纳
1
回答
为什么
Request.ServerVariables
只返回一些值?
我正在使用ASP.NET,它的一部分代码应该返回登录用户:但什么也没回。同时,
Request.ServerVariables
["AUTH_PASSWORD"] 分别返回正确的主机名和密码。
浏览 0
修改于2021-11-24
得票数 1
回答已采纳
1
回答
ASP中的
Request.ServerVariables
.NET C#
是否可以在asp
request.servervariables
后面的代码中清除
request.servervariables
中设置的值。
浏览 2
修改于2015-05-27
得票数 0
2
回答
如何使用MOQ来模拟
Request.ServerVariables
?
到目前为止,我还在试图嘲弄
Request.ServerVariables
,作为,我已经了解到最好将它们抽象为属性。
浏览 6
修改于2017-05-23
得票数 11
回答已采纳
1
回答
$_SERVER['HTTP_REFERER'] vs
Request.ServerVariables
("HTTP_REFERER")
为什么查询字符串不是英文字符,$_SERVER和
Request.ServerVariables
("HTTP_REFERER")会返回不同的结果?
浏览 2
提问于2010-05-31
得票数 3
回答已采纳
5
回答
Request.ServerVariables
["LOGON_USER"]诉Request.LogonUserIdentity
我试图从WindowsIdentity应用程序的调用方获得当前的ASP.Net,而不进行模拟。 m_techLogger.Warn(string.Format("Request[LOGON_USER] {0}", Request["LOGON_USER"])); m_techLogger.Warn(string.Format("
浏览 6
修改于2018-04-05
得票数 8
4
回答
经典ASP
Request.ServerVariables
("LOGON_USER")返回错误的用户名
Classic ASP
Request.ServerVariables
("LOGON_USER")返回错误的用户名。以下是场景:Response.Write "LOGON_USER: " &
Request.ServerVariables
("LOGON_USER") & "<br>" Response.Write "REMOTE_USER: " &
浏览 1
修改于2010-02-25
得票数 10
回答已采纳
1
回答
Request.ServerVariables
(“登录用户”)返回空
Web.config文件 <allow users ="*" />IIS权限(Checked)Integrated windows authenticationwelcomeUser.InnerText = Request.ServerVariables.Get("LOG
浏览 0
提问于2012-02-28
得票数 0
回答已采纳
1
回答
Request.ServerVariables
["LOCAL_ADDR"]返回“:1”
我正在运行localhost,
Request.ServerVariables
["LOCAL_ADDR"]正在返回::1 ClientIPAddress格式无效
浏览 6
修改于2012-06-29
得票数 4
回答已采纳
2
回答
Request.ServerVariables
("HTTP_REFERER")在IE中不起作用
在Internet Explorer中,
Request.ServerVariables
("HTTP_REFERER")无法正常工作。为此,我在www.example1.com中使用了
Request.ServerVariables
("HTTP_REFERER"),这样我就可以根据我申请的重定向来识别谁在请求www.example1.com我在www.example1.com上使用了下面的ASP代码 <%if(
Request.ServerVariables
("HTTP_REFERER&qu
浏览 2
修改于2012-01-27
得票数 1
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券