This content has been marked as final. Show 6 replies
Your CFLOCATION may be giving you problems. From ColdFusion live docs: "Once you have used the cfflush tag on a page, any CFML function or tag on the page that modifies the HTML header causes an error. These include the cfcontent, cfcookie, cfform, cfheader, cfhtmlhead, and cflocation tags."
It doest helpp
I do this sort of thing with as little code as possible on the page that contains the image. Basically, I validate form variables and convert them to session variables. All the time consuming stuff is done on the next page.
I have js redirect...still dont work..
Mine works without the cfflush. Here is a stripped down sample:
form validation code goes here
<!--- set session variables --->
more code goes here
<custom tag that includes html tags, style sheet etc>
<p>Please stand by while we process your file. </p>
var ID = window.setTimeout("window.location.href='#NextPage#'", 5);
<cfelse> <!--- not a valid date --->
code telling user what was wrong with their form variables
</cfif> <!--- valid date --->
Dont work mannn...