troubleshooting Question

ASP script to check if client is on same subnet as IIS server

Avatar of quiTech
quiTechFlag for Canada asked on
ASP
14 Comments2 Solutions490 ViewsLast Modified:
I need to check if a client connected to an ASP site on IIS is coming from the same subnet as the the one on which the server is located.  Is this possible.  I know I can get the client and server IP address using request.servervariables.  But, without the subnet mask, it doesn't help a lot.  Of course, once I have the subnet mask, I'd still have to figure out some algorithm... hoping someone may have already done this... :-)

Thanks in advance!
ASKER CERTIFIED SOLUTION
L00M

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

Join our community to see this answer!
Unlock 2 Answers and 14 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 2 Answers and 14 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