I think ya want AND and not OR in that second example if you don't want to show the footer on any of those pages.
Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ----- Original Message ----- From: "Yexley Robert D Contr Det 1 AFRL/WSI" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 12:42 PM Subject: RE: Suppress OnRequestEnd.cfm output > Well OK, I take it back. It worked for one. But the problem is I have a number of different files that I need to suppress this on, so I have to check for all of them to tell it whether or not to display. Sounds easy enough, right? Well, evidently my syntax is wrong or something, because it's not working. This is what I did: > > <cfif CGI.script_name neq "/myapp/reviewList.cfm"> > ...show my footer... > </cfif> > > And that worked fine. It was when I added the check for the other files that it stopped working. I added this... > > <cfif CGI.script_name neq "/myapp/reviewList.cfm" OR CGI.script_name neq "/myapp/reviewListSA.cfm" OR CGI.script_name neq "/myapp/reviewListAll.cfm"> > ...show my footer... > </cfif> > > That's when it stops working. What's in my logic or syntax there that it doesn't like? > > Bob > <)))>< > > > -----Original Message----- > From: Yexley Robert D Contr Det 1 AFRL/WSI [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 3:25 PM > To: CF-Talk > Subject: RE: Suppress OnRequestEnd.cfm output > > > That works for me. I hadn't even though about that. Thanks for the help, and I'll be sure to pass on the greetings. :) > > Bob > <)))>< > > > -----Original Message----- > From: Tim Painter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 3:16 PM > To: CF-Talk > Subject: Re: Suppress OnRequestEnd.cfm output > > > I'd use the cgi.script_name variable and test for that to suppress it: > > e.g > > <cfif cgi.script_name neq "iframe_template.cfm"> > Show output.... > </cfif> > > HTH, > Tim P. > > p.s -- tell my father-in-law (Ron B) I said hello :) > > ----- Original Message ----- > From: "Yexley Robert D Contr Det 1 AFRL/WSI" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Wednesday, September 04, 2002 2:59 PM > Subject: Suppress OnRequestEnd.cfm output > > > > I have an OnRequestEnd.cfm file that I use for my application, and I > > find it to be very useful, but I have a few documents that are used > > for the contents of iframes on which I would like to be able to > > explicitly suppress the output of the OnRequestEnd.cfm file. Is there > > any way to do this at the document level? I've searched the archives, > > and haven't found much pertaining to this. Does anyone have any > > ideas? Thanks in advance. > > > > ::YEX:: > > <)))>< > > > > /* > > || Robert D. Yexley > > || Oracle Programmer/Analyst > > || Northrop Grumman IT > > || Contractor - Wright Research Site MIS > > || Det-1 AFRL/WSI Bldg. 45 Rm. 062 > > || (937) 255-1984 > > || [EMAIL PROTECTED] > > || <)))>< > > */ > > > > <<Robert D. Yexley (E-mail).vcf>> > > > > > > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists