Windows authentication asp page

cubangt 1 Reputation point
2022-06-16T20:21:21.167+00:00

We are working on replacing a old VBscript page that is on a system that is being disabled later this year.. the only purpose this existing page serves is to determine where the user is located and redirect them to another page with some predefined url parameters.

We have an IIS server to host this page, we currently use active directory and all we need is a way to have our intranet point to this page, determine what location the user is from and then populate the url parameters before landing on the 2nd page..

Can anyone offer any suggestions or examples on something that would help us accomplish this?

The users can come from 2 places (main office or store location) if they come from our main office, then the parameters are generic, but if they are from a store location, then the parameters are the 3 digit location number.

mypage.asp?loc=044
or
mypage.asp?loc=main

Since they are already on our network they dont need to login to anything, we use this to present them information specific to their location..

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,728 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,531 Reputation points
    2022-06-23T20:21:58.477+00:00

    as I said you use DirectorySevices. see this thread for example of validating password, and lookup of ad entry:

    https://stackoverflow.com/questions/290548/validate-a-username-and-password-against-active-directory

    0 comments No comments