Hi! What's wrong with this code?
<cfset id="">
<cfif #id# EQ "">
<SCRIPT language="JavaScript">
<!--
history.go(-1);
//-->
</script>
</cfif>
<cflocation url="getit.cfm">
I think in the above example, getit.cfm should not execute, but it does.
If I change the cflocation to cfinclude, it's o.k. Looks like the history.go(-1) doesn't operate fast enough (?).
Thanks is advance for your help.
<cfset id="">
<cfif #id# EQ "">
<SCRIPT language="JavaScript">
<!--
history.go(-1);
//-->
</script>
</cfif>
<cflocation url="getit.cfm">
I think in the above example, getit.cfm should not execute, but it does.
If I change the cflocation to cfinclude, it's o.k. Looks like the history.go(-1) doesn't operate fast enough (?).
Thanks is advance for your help.