|
I want to have one of my asp pages ONLY load if someone reached it by my main page. I am new to ASP, but I think I have the theory down, I just need help with the actual commands, syntax, etc. Here is what I got so far, any suggestions?
ref=Request.ServerVariables("HTTP_REFERER")
If ref=http://website.com/main_page.htm then goto continue
Else goto end
continue()
..... run the code on this page .....
end()
Response.Write "You Have Not Reached This Page From Our Main Site"
|