I like to use this in a little different form:
<cfif NOT ListContainsNoCase("popup.cfm,popup1.cfm",PageName)>
...
</cfif>
More efficient (List functions are very fast in CF 4) and easier to add more
exception pages when you need to.
> -----Original Message-----
> From: Adrian Cesana [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 17, 2000 9:35 PM
> To: [EMAIL PROTECTED]
> Subject: RE: application.cfm but not for all
>
> Very cool, thanku!, I had to use SCRIPT_NAME my PATH_INFO is always empty,
> not sure why.
>
> -Adrian
>
>
> > From: Steve Reich [mailto:[EMAIL PROTECTED]]
> >
> > Adding this code to the application.cfm file will include the file
> > toolbar.cfm in all pages except popup.cfm or popup1.cfm (you can
> > add all the
> > pages you like or loop through a list of pages).....
> >
> > <cfset PageName = ListLast(PATH_INFO, "/")>
> > <cfif (PageName NEQ "popup.cfm") OR (PageName NEQ "popup1.cfm"))>
> > <cfinclude template="toolbar.cfm">
> > </cfif>
>
> --------------------------------------------------------------------------
> ----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.