Resetting your page output
I just figured out a simple way of resetting the output stream in a coldfusion template using the JspWriter obtained from the PageContext:
You won't see any content above the line below. <cfset GetPageContext().getOut().clearBuffer()> But you will see this content down here.
Like this? Follow me ↯Tweet Follow @pfreitag
Resetting your page output was first published on March 16, 2005.
The FuseGuard Web Application Firewall for ColdFusion & CFML is a high performance, customizable engine that blocks various attacks against your ColdFusion applications.