I can't reproduce this problem. Tell me if the following two pages work as
intended for you:
Redirect2Variable.asp:
<%
dim url
url="RedirectTarget.asp?a=5"
Response.Redirect url
%>
RedirectTarget.asp:
<%
for each key in Request.QueryString
Response.Write key & ": " & Request.QueryString(key)
next
%>
Here is the output I see when I load Redirect2Variable.asp:
a: 5
Tell me what I need to change to make my page reproduce your symptoms.
Bob Barrows
elmo wrote:
> I've got the same problem...
>
> de page must rdirect to Costumersview.asp?key=1
> when i do a response.redirect to Costumersview.asp?key=1 the redirect
> doen't have any problems but when i do it from a variable
> then the script won't redirect to Costumersview.asp?key=1
> i use the following code to de a redirect
>
> response.redirect terug
>
> When i do a response.write (terug) i'v got the following text
> Costumersview.asp?key=1
>
> is there someone who is familliar with this problem
>
> Eltjo Schol
> Netherlands
>
> Evertjan. wrote:
>> *TomT wrote on 17 nov 2004 in
>> microsoft.public.inetserver.asp.general:
>>
>>> response.redirect("newpage.asp?id=JobID")
>>>
>>> I get redirected to newpage.asp?id=JobID, not newpage.asp?id=100
>>>
>>
>> ASP vbscript:
>>
>> response.redirect "newpage.asp?id=" & JobID
>>
>> ASP jscript:
>>
>> response.redirect( "newpage.asp?id=" + JobID );
>>
>> --
>> Evertjan.
>> The Netherlands.
>> (Please change the x'es to dots in my emailaddress,
>> but let us keep the discussions in the newsgroup) *
>
>
>
> --
> elmo
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.