当前位置:编程学习 > asp >>

在ASP中用程序控制弹出NTLM验证窗口

答案:在ASP中用程序控制弹出NTLM验证窗口
简介: 可以弹出NT验证窗口,而不管目录是否允许匿名访问,很好用的一段代码。
作者:亚豪 EMAIL: yahao@bigfoot.com 下载或访问
<%
Response.Status = "401 Unauthorized"
Response.AddHeader "WWW-Authenticate","NTLM"
response.write "user=" & Request.ServerVariables("LOGON_USER") & "<br>"
response.write "User login!"
response.end
%>  

上一个:SessionID
下一个:在ASP页面中插入excel文件(转)

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,