-
Say I am using a querystring to redirect from a stats page. eg.
http://www.whatever.com/redirect.asp...sp?a=one&b=two
Part of the redirect url is lost (b=two) ie. any querystring of the redirect url that follows an "&".
Can some one tell me how to prevent this happening. Any help would be a great help.
Charlie
-
try something like:
<a href="http://whatever.com/index.asp?<%=server.urlencode ("url=http://www.whatever.com/page.asp?a=one&b=two
")%>">
Not sure if it would help ... but worth a try :-)
-
that happens because the server thinks that &b=two
is part of the query string being sent to the redirect.asp
document
try this:
Code:
<%
url = Request("url")
endofurl = request("b")
response.write url & "&b=" & endofurl
%>