Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if request is from local host

Tags:

asp-classic

How do I check if a request is from the local host with Classic ASP, like the bool property HttpRequest.IsLocal in ASP.NET?

like image 753
Big Steph Avatar asked Oct 19 '25 14:10

Big Steph


1 Answers

How about using request.servervariables("remote_addr") and request.servervariables("local_addr") ?

like image 61
CodeWhisperer Avatar answered Oct 26 '25 19:10

CodeWhisperer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!