2
在我的服务器端页面(Intranet环境),我用下面的代码来找出哪些用户正在使用的页面:Request.ServerVariables
Request.ServerVariables("LOGON_USER")
如何使用该命令一个web服务(asmx文件)?我不能使用上面的行,因为我收到一条消息,说Request is not declared
。
在我的服务器端页面(Intranet环境),我用下面的代码来找出哪些用户正在使用的页面:Request.ServerVariables
Request.ServerVariables("LOGON_USER")
如何使用该命令一个web服务(asmx文件)?我不能使用上面的行,因为我收到一条消息,说Request is not declared
。
使用HttpContext.Current.Request.ServerVariables
...