The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I've been using the following referal to do a modded redirect without problems (v. 3.4.03):
But, the following code from (v. 3.4.04) is causing a problem:
This is the function:
This is my REFERER:
I understand that the function was added for security reasons and I'd like to keep that, but I'm not sure how to do it with my modified referer. Any advice?
<
Code:
"<input name=""Refer"" type=""hidden"" value=""" & Request.ServerVariables("HTTP_REFERER") & """>" & vbNewLine & _But, the following code from (v. 3.4.04) is causing a problem:
Code:
"<input name=""Refer"" type=""hidden"" value=""" & GetReferer() & """>" & vbNewLine & _Code:
function GetReferer()
Dim strReferer
strReferer = lcase(Request.ServerVariables("HTTP_REFERER"))
if strReferer = "" then
strReferer = "default.asp"
elseif (Left(strReferer, len(strForumURL)) <> lcase(strForumURL)) then
strReferer = "default.asp"
end if
GetReferer = strReferer
end functionCode:
http://www.site.com/forum/post.asp?method=Topic&FORUM_ID=27&artid=1927&ref=
http://www.site.com/site/article.asp?id%3D1927 (I split this so it will fit on the page)<