Skip to main content
Participant
April 25, 2007
Question

reset = "yes" in cfcontent

  • April 25, 2007
  • 2 replies
  • 319 views
I have the following code:

A
<cfcontent reset = "Yes">
B
<cfcontent reset = "No">


I thought the result will be "B". But the result is empty page. Why is that? CFML documentation says the "Yes" values "discards output that PRECEDES call to cfcontent". So why it discards the "B" that is AFTER the cfcontent?
    This topic has been closed for replies.

    2 replies

    Inspiring
    April 25, 2007
    I got "B" as well. What were you doing code-wise when you noticed this problem?
    Inspiring
    April 25, 2007
    Hi,

    Interesting I got "B" as output.. I wonder what is wrong with your code there!