help: why can not get the Request.ServerVariables("LOGON_USER") ?

step 2001-12-21 10:02:11
I'm a winnt workstation user, I can get these value :

Request.ServerVariables("REMOTE_HOST")
Request.ServerVariables("SERVER_PORT")
Request.ServerVariables("LOCAL_ADDR")

but I can not get this value
Request.ServerVariables("LOGON_USER")
It's return the blank string ""

why?
the problem with my asp sourcecode, or iis? how to fix?
thanks!
...全文
112 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
step 2001-12-21
  • 打赏
  • 举报
回复
ok. I found it. Now it's correct. thanks~
step 2001-12-21
  • 打赏
  • 举报
回复
Thanks you very much~~
But I can not find the corresponding configuration : (
please tell me more detail steps.
55
cpplus 2001-12-21
  • 打赏
  • 举报
回复
这个是匿名访问的时候没有显示的,如果你把IIS配置成不可以匿名访问的,就会显示你登录的用户名信息喽~~~~

28,409

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧