|
Hi does any one know if it is possible to make a response.redirect claim like this?
response.redirect "https://www.someserver.com/fetch.jsp?name=" & fName & " " & lName & "&email=" & email & "&address=" & address & vbCrLf & zip & " " & city & "&id=" & id & "¬es=" & note & "&retOK=http://www.anotherserver.com/OK.asp?id=" & id & "&retFail=http://www.anotherserver.com/FAIL.asp?id=" & id & ""
I other words i am sending formated text in a response redirect as well as return links including ? like this page.asp?id=1
Is this even possible, if not does any one have a possible soultion of how to send this data?
|
|
|
Yes, that is possible. What you show should work, assuming the values of your variables aren't some strange characters. Of course, couldn't you have just tested that to see if it works? Send that querystring to your own test script and see that all the values are sent correctly.
|
|
|
|
|
I got it to work, i just had to url encode some parts of the message.....like the url in the url part :)
|
|
|
Right. I should have mentioned that. (I'm slipping!)
Response.Redirect "https://www.domain.com/somepage.asp?" & Server.URLEncode(my_querystring)
Figured you had it working by now -- pretty old post. Sorry nobody replied sooner. :)
|
|
|
|
|
|
|
|
|
|