SyntaxFix
Write A Post
Hire A Developer
Questions
Use the Request.UrlReferrer property.
Request.UrlReferrer
Underneath the scenes it is just checking the ServerVariables("HTTP_REFERER") property.
ServerVariables("HTTP_REFERER")