cflocation not working

Posted on 2006-04-10
Last Modified: 2013-12-24
Very wierd... but can someone please example why my cflocation isn't working... i want it to run this page and at the end of all the include processing do a cflocation...

here's my page

<div id="wait" align="center" style="overflow:hidden;">
<cfinclude template="PleaseWait.cfm">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Searching.... Please wait....</title>


<div id="page" style="visibility:hidden;">

<CFIF IsDefined("") and neq "">
<cfinclude template="inc_NetForum.cfm">
<cflocation url="index.cfm">
document.getElementById('page').style.visibility = 'visible'
document.getElementById("wait").style.display = 'none';


<cflocation url="">
Question by:polobruce
    LVL 18

    Accepted Solution


    CFLOCATION and CFFLUSH do NOT work together.

    You can use a javascript redirect at the end

    window.location.href = '';


    Author Comment

    i did not realize.  thanks

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    A web service ( is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
    Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    760 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

    15 Experts available now in Live!

    Get 1:1 Help Now