Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Respond.Redirect Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Respond.Redirect Problem

 Post Reply Post Reply
Author
IDArcher View Drop Down
Newbie
Newbie
Avatar

Joined: 17 January 2002
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote IDArcher Quote  Post ReplyReply Direct Link To This Post Topic: Respond.Redirect Problem
    Posted: 26 March 2003 at 2:24pm

Hello All,

I am trying to uset the Respond.Redirect method to redirect a person to another website once I have checked a few things from a prior form.  The redirect URL is being changed for some reason.  The statement is:

respond.redirect "https://www.paypal.com/xclick/business=cmn......."

When I run the code and the browser is redirected the URL in the address area of the browser looks somthing like this

https://www.paypal.com/xclick/business%3udcmn......

its as if the = is being replaced for some reason... Any help would greatly appreciated.

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 26 March 2003 at 2:30pm
you cannot use "Response.Redirect" for an external URL, it'll only point to files on the webserver itself
Contribute to the working anarchy we fondly call the Internet
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 26 March 2003 at 2:45pm
Sorry MorningZ but you can use Redirects to external URL's no prob (Maybe you confused it with includes). the = is transformed well doesen't do it when i try, did you try to do an url encode on the url??
Back to Top
IDArcher View Drop Down
Newbie
Newbie
Avatar

Joined: 17 January 2002
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote IDArcher Quote  Post ReplyReply Direct Link To This Post Posted: 26 March 2003 at 5:52pm

Sorry for my lack of knowledge, but what is a url encode? Here is the full URL that I am trying to redirect to:

https://www.paypal.com/xclick/business=cmn%........

If you just copy this URL into the Address line of the browser it works just fine or click on it above... but after the redirect gets done with it it looks like this

https://www.paypal.com/xclick/business%3Dcmn%.......

I tried using a Server.urlEnclode("url") but got even worse results... I really need some help with since I am getting short on time to make this work.  Please HELP!



Edited by IDArcher
Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2003 at 6:29am
Originally posted by michael michael wrote:

Sorry MorningZ but you can use Redirects to external URL's no prob (Maybe you confused it with includes). the = is transformed well doesen't do it when i try, did you try to do an url encode on the url??

oops... i had "Server.Transfer" in my head (use this ALL the time at work)... my bad for bad info
Contribute to the working anarchy we fondly call the Internet
Back to Top
IDArcher View Drop Down
Newbie
Newbie
Avatar

Joined: 17 January 2002
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote IDArcher Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2003 at 1:14pm
Thanks for your help guys, I figured it out for some reason I had to put a ? before business.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.