codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  response redirect  sfrost at 08:59 on Friday, January 16, 2004
 

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 & "&notes=" & 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?

  Re: response redirect  Troy Wolf at 04:02 on Tuesday, February 24, 2004
 

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.
Troy Wolf: site expert
SnippetEdit Website Editor


  Re: response redirect  sfrost at 05:47 on Tuesday, February 24, 2004
 

I got it to work, i just had to url encode some parts of the message.....like the url in the url part :)

  Re: response redirect  Troy Wolf at 13:00 on Tuesday, February 24, 2004
 

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. :)
Troy Wolf: site expert
SnippetEdit Website Editor









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  matrix addition
•  Re: Storing data from HTML to Excel or TXT
•  Re: function within loop problem
•  Re: Ô‡´ò¥¯¥é¥Ö¤Ï ¥Æ©`¥é©`¥á¥¤¥É£ò£±£±¥¢¥¤¥¢¥ó ¤Î£··¬ ¤Ç¤¹
•  Re: Replace
•  Re: タイトリスト AP2アイアン 712ã�®æƒ…å �
•  Re: SMS from Perl using HTTP request
•  Re: Charl Schwartzel
•  Re: Adhyayan - Annual Student Conference and Online Coding Festival


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2013