不可靠的ServerVariables? [英] unreliable ServerVariables?
问题描述
为什么Request.ServerVariables(" AUTH_USER")突然开始返回0
长度的字符串?我以前经历过这种情况......它可以正常运行一段时间,然后它会突然退出值。同一服务器上的其他ASP继续
返回有效值。是什么导致了这个?
谢谢
LJB
Why does Request.ServerVariables("AUTH_USER") suddenly start returning a 0
length string? I''ve experience this before...it works fine for a while and
suddenly it quits returning values. Other ASP on the same server continues
to return valid values. Any ideas what is causing this?
thanks
LJB
推荐答案
当您未经过身份验证并匿名访问该页面时?
-
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
" ; LJB" <>在消息新闻中写道:eJ ************** @ TK2MSFTNGP11.phx.gbl ...
When you are not authenticated and accessing the page anonymously?
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"ljb" <.> wrote in message news:eJ**************@TK2MSFTNGP11.phx.gbl...
为什么Request.ServerVariables(" AUTH_USER")突然启动返回0
长度的字符串?我以前经历过这种情况......它可以正常工作一段时间并且突然它会退出返回值。同一服务器上的其他ASP继续
返回有效值。是什么导致了这个?
感谢
LJB
Why does Request.ServerVariables("AUTH_USER") suddenly start returning a 0
length string? I''ve experience this before...it works fine for a while and
suddenly it quits returning values. Other ASP on the same server continues
to return valid values. Any ideas what is causing this?
thanks
LJB
" Aaron Bertrand [MVP ]" < AA *** @ TRASHaspfaq.com>在消息新闻中写道:< u9 ************** @ TK2MSFTNGP10.phx.gbl> ...
"Aaron Bertrand [MVP]" <aa***@TRASHaspfaq.com> wrote in message news:<u9**************@TK2MSFTNGP10.phx.gbl>...
当您未经过身份验证并匿名访问该页面时?
- Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
When you are not authenticated and accessing the page anonymously?
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
导致身份验证丢失的原因是什么?这是在内联网上,每个人都登录到NT网络。
特别令我讨厌的是开发人员突然间我甚至无法测试自己的代码。我可以重新启动
我的工作站并再次登录,但经常Authenticated_User不会
工作几天。在这个项目中,如果用户在一个简短的名单中,我试图允许从ASP编辑数据库
记录。每个人
在我的列表之外是只读的。
LJB
What causes the loss of authentication? This is on an intranet and
everyone logs in to an NT network. Its particularly annoying for me as
a developer when suddenly I can''t even test my own code. I can re-boot
my workstation and login again but often Authenticated_User will not
work for days. In this project I''m trying to allow editing a database
record from ASP if the user is in a short list of names. Everyone
outside my list is read only.
LJB
你有Windows身份验证和是否启用了匿名访问?如果是这样,
禁用后者。
-
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
劳伦斯 < LJ ****** @ juno.com>在消息中写道
news:ec ************************** @ posting.google.c om ...
Do you have Windows authentication and anonymous access enabled? If so,
disable the latter.
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Lawrence" <lj******@juno.com> wrote in message
news:ec**************************@posting.google.c om...
" Aaron Bertrand [MVP]" < AA *** @ TRASHaspfaq.com>在消息中写道
"Aaron Bertrand [MVP]" <aa***@TRASHaspfaq.com> wrote in message
news:< u9 ************** @ TK2MSFTNGP10.phx.gbl> ...
news:<u9**************@TK2MSFTNGP10.phx.gbl>...
当您未经过身份验证并匿名访问该页面时?
- Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
When you are not authenticated and accessing the page anonymously?
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
>
导致身份验证丢失的原因是什么?这是在内联网上,每个人都登录到NT网络。作为开发人员突然间我甚至无法测试自己的代码,这对我来说特别烦人。我可以重新启动我的工作站并再次登录,但经常Authenticated_User不会工作好几天。在这个项目中,如果用户在一个简短的名单列表中,我试图允许从ASP编辑数据库
记录。我名单之外的每个人都是只读的。
LJB
What causes the loss of authentication? This is on an intranet and
everyone logs in to an NT network. Its particularly annoying for me as
a developer when suddenly I can''t even test my own code. I can re-boot
my workstation and login again but often Authenticated_User will not
work for days. In this project I''m trying to allow editing a database
record from ASP if the user is in a short list of names. Everyone
outside my list is read only.
LJB
这篇关于不可靠的ServerVariables?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!