Lack of these causes a variety of problems from first registration onwards. The problem is caused by Firewall's privacy settings which some users won't want to turn off. This code solves the problem:
in config.asp add these lines: session("referer") = session("thispage") session("thispage") = Request.ServerVariables("path_info")
and replace all occurences of Request.ServerVariables("HTTP_REFERER") with session("referer")
except that Request.ServerVariables("path_info") is not at all the same as Request.ServerVariables("HTTP_REFERER") they are two entirely different things
quote: except that Request.ServerVariables("path_info") is not at all the same as Request.ServerVariables("HTTP_REFERER") they are two entirely different things
Ageed - Request.ServerVariables("path_info") is relative to the root and Request.ServerVariables("HTTP_REFERER") is an absolute reference - but the desired result is achieved. I don't think it is reasonable to expect users to turn off privacy control - at least my customers wouldn't do it if I asked them to.
Ageed - Request.ServerVariables("path_info") is relative to the root and Request.ServerVariables("HTTP_REFERER") is an absolute reference - but the desired result is achieved. I don't think it is reasonable to expect users to turn off privacy control - at least my customers wouldn't do it if I asked them to.
it is not as simple as that Request.ServerVariables("path_info") tells you the path of the file being LOADED Request.ServerVariables("HTTP_REFERER") tells you which page they came from, two entirely different things and nothing to do with absolute or relative values