> From: Bob Haroche [mailto:[EMAIL PROTECTED] 
> On a MX server, I'm finding that whatever I wrap in <cfsavecontent>
> tags is suppressed, but is available for output later as a saved
> variable. Here's an example -- when displayed in the browser, the
> "Test content here" phrase appears only the second time not the first.
> I'm sure I'm overlooking something simple. I have tried wrapping
> <cfoutput> tags around the <cfsavecontent> tags without luck. Thanks.
> 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> </head>
> <body>
> <p>First time: <cfsavecontent variable="Content">Test content
> here</cfsavecontent></p>
> <p>Second time: <cfoutput>#Content#</cfoutput></p>
> </body>
> </html>

Bob,

That is how cfsavecontent works. Whatever is wrapped in the cfsavecontent
tag is stored in the variable specified in the variable attribute and
available for later use.
Refer to
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-a29.htm#wp184441
0 for more information.

HTH,

Mike



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192227
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to