Redirect by IP Address
Hi Guys! I am new to this forum, but I have a question.
I need a way to redirect the users of my website to different pages based on their IP Address. What I am want to be able to do is if a user tries to access a directory I don't want them to, they will be redirected to another page, but if I try to access a directory, I want to be able to. So basically, I want to block all IP Addresses except my own.
I hope you can help!
Careful if you don't have a fixed IP Address...
If Request.ServerVariables("REMOTE_ADDR") = "Your IP Address" Then
'' Let you in
'' Don't let them in
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)