trying to redirect browser after sim

Posted on 2005-04-13
Last Modified: 2013-12-24
  I have created a catalog and shopping cart in coldfusion.  I have it processing transactions through authorize net.  That all works perfectly.  Now when it is done processing the card it comes back to the site (still on authorize net site - url in the address bar) it processes the return codes from and then I want to direct the users browser to another page on the website thereby changing the url in the address bar to a page on our site.   unfortunately that is proving a little more difficult than it seems like it should.  Perhaps it is me :-).  After it processes the transaction I have a <cflocation url="">  It goes to this location but since the url in the address bar *still* does not change (why does it stay on's site at that point?  In php I just do a Header("Location:");  and I am out of there.  But it does not seem to function the same way with the cflocation call.  It still stays on the site/url.  I place a link on the page to "click here to go view and print your invoice". But if the user decides to click on any of the navigation buttons they are hosed.

Any ideas?

Question by:JGoyer
    1 Comment
    LVL 35

    Accepted Solution

    A cflocation should do that unless you are somehow inside a frame.  In that case you need to break out of the frame.

    You should examine the source of the page that it returns to.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
    Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
    Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now