Can't reproduce; need more information.
Have you tried using the same code in a different page? On a different
server? From different referrers? Using a different redirect URL?
Have you tried response.write instead of response.redirect, and paste the
displayed URL in the browser directly?
Have you tried using server.transfer, or sending the URL to client-side
script to perform the redirect? Have you considered using the client-side
window.history.go(-1); method (not sure of the exact syntax, I think that's
close)?
You need to help us narrow down which variables are factors and which are
not...
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Brett" <cl***************@yahoo.com> wrote in message
news:99**************************@posting.google.c om...
rf=Request.ServerVariables("HTTP_REFERER")
sv2=Request.ServerVariables("URL") & "?" &
Request.ServerVariables("QUERY_STRING")
if instr(rf,"http://www.westcoast") = 1 then
'response.redirect "http://midvalleyfurniture.com" & sv2
end if
If I put the redirect back in, it hangs and times out. Otherwise, works
fine.
What am I doing wrong?
Thanks,
Brett