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!
Then, FernandoSoto's previous solution on this should apply:
You would need to change some declarations etc. to match ASP syntax.