I have created a web application with Forms based authentication and Windows authentication . When i login into site i get a Custom sign in page where there is a drop down box to select either windows or Forms .
My Requirement is now however to create a custom login page where if the user is from same AD will automatically log into site else will be send to a page where he can specify the form based credentials.
Please provide your Suggestions or Answers to execute it.