troubleshooting Question

ASP redirect users depending on IP address

Avatar of IM&T SRFT
IM&T SRFT asked on
ASP
3 Comments1 Solution497 ViewsLast Modified:
I have 2 sites, let's call them Site A and Site B.

Site A has an IP address range of 172.16.*.*
Site B has several ranges: 10.137.*.* - 10.171.*.* - 10.132.*.* - 10.1.*.* - 192.168.*.*

I have a link on the Intranet page that both Site A and Site B need to access.

My problem is I have to send everybody from Site A to a different URL than everybody from Site B, but they are both clicking the same link (having seperate links is unacceptable).

My question, if you haven't guessed already, is how do I detect that the user is coming from a particular IP range and then redirect them accordingly?

The webserver only supports ASP.

Thanks in advance.
ASKER CERTIFIED SOLUTION
tobzzz

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros