Just wanted to ask about all of the request.headergraphic,
request.myentirewebsite If you start loading everything into a variable
won't this start to take a toll on the cf server?
Shawn Regan
-----Original Message-----
From: Mike Craig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 12:44 PM
To: Fusebox
Subject: RE: cfmodule or cfinclude with request variable
It's all good man. I have done something very similar very often and I
would recomment the request.headergraphic="" approach. This way, it can be
set at a circuit level, say in an app_locals.cfm or in an individual page of
"body content" so that when the header renders, the request variable already
exists and will be recognized by the header file. A module call (a.k.a.
function) would work fine too but I think it is unnecessary and might only
serve to clutter your index.cfm file.
Just my opinion, but I have worked in some very large environments and this
seemed to work best for me.
-----Original Message-----
From: Joshua D Rusch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 9:03 PM
To: Fusebox
Subject: cfmodule or cfinclude with request variable
Hello,
I am new to both fusebox and cold fusion, so bear with me please....
I've heard this list is pretty friendly, so I am not too worried:)
I have a file in my blocks directory that is a header. There is an image in
this header that varies from page to page. Is it better to have the image
name as a request variable that I set in my index.cfm switch statement, or
should I do something like <cfmodule headerimage="testimage.jpg"> and then
in my header file use attributes.headerimage as the image?
Are there advantages/disadvantages to both? Are they both valid fusebox?
(Well, I'm pretty certain the 2nd method is valid)
Thanks,
Josh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists