<cfexit>
</cfif>
<cfset Caller.MyHeaderAlreadyAdded=1>
code here
add header here
Something like that...
HTH,
--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
>>> Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm
----- Original Message -----
From: DURETTE, STEVEN J (AIT)
To: CF-Talk
Sent: Thursday, August 26, 2004 4:36 PM
Subject: CFHeader in a custom tag
Hi all,
I have another strange one for you. I'm writing a custom tag and I want it
to do a cfheader. I can do this no problem, but what I'm looking to do is
have it so if I call the tag more than once in a page, the cfheader is only
done on the first call.
Any ideas how I might get it to do this?
Thanks,
Steve
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]