osh*_*nen 2 .net vb.net web-services asmx .net-3.5
在我的服务器端页面(内部网环境)上,我使用以下代码来找出哪个用户正在使用该页面:
Request.ServerVariables("LOGON_USER")
如何在Web服务(asmx文件)中使用该命令?当我得到一条消息时,我无法使用上面的这一行Request is not declared.
Request is not declared
Yah*_*hia 5
用HttpContext.Current.Request.ServerVariables...
HttpContext.Current.Request.ServerVariables
归档时间:
14 年,5 月 前
查看次数:
2372 次
最近记录: