Erika just reminded me of something I was supposed to pass onto the list.

Someone from Macromedia,(thanks lots :) ) gave me a heads up to a glaring
error that existed in my code.

In order to keep the site simple, I am using one default template at
default.cfm that calls all other pages and images that I want to view
through URL variables.

However..I never considered what would happen if some enterprising soul was
to put default.cfm?page=default.cfm.

I never put a condition (<CFIF blah blah AND page neq 'default.cfm'>) around
the CFINCLUDE to account for something like that happening.

Of course what would happen is a nice long loop and the host's servers
churning merrily in the background using up CPU Cycles and memory :)

I know its not an error that you experienced guys and gals might make, but
there may be a few that could benefit from the tip beside me :)

I'll have to scan through CFWACK again and see if that warning about this
possible error with CFINCLUDE was in there ;-)

-Gel




-----Original Message-----
From: Erika L Walker [mailto:[EMAIL PROTECTED]]

Yeah, but how come when I go visit the site there's this huge old ERROR? I
didn't get that from your site Gel!

Erika


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to