开发者

ASP and Windows User Logon

开发者 https://www.devze.com 2022-12-29 21:48 出处:网络
I want to use the Windows logon information to check if a user can use my \"classic asp\" site. So if the user is logon at a certain Windows Domain network he/she can enter the site and i can use this

I want to use the Windows logon information to check if a user can use my "classic asp" site. So if the user is logon at a certain Windows Domain network he/she can enter the site and i can use this persons Windows logon information on my asp site.

I know its possible with ASP.NET but is it also possible with "开发者_C百科classic asp", if yes, how?


Take a look at Request.ServerVariables("AUTH_USER"). I beleive that this will only have a value if anonymous authentication is turned off windows authentication is on. Heres a good reference for all the server variables: http://www.w3schools.com/asp/coll_servervariables.asp

0

精彩评论

暂无评论...
验证码 换一张
取 消