[thelist] CF: Clearing a cached query?

rudy r937 at interlog.com
Tue Oct 15 12:33:01 CDT 2002

> works excellent with a custom 404 handler too....

my archive page works just like that

my archive page is the one that pulls individual articles out of the

in fact, my archive page *is* my custom 404 template

i.e. when you go to http://r937.com/fqa.cfm you are not actually seeing
that page, because it doesn't exist, the archive page is simply getting the
'fqa' article out of the database

you could as easily go to http://r937.com/fqa.xyz and still get the same
result, since that page doesn't exist either...  but the archive page still
finds the 'fqa' entry in the database

so yeah, i have one template and one query, because "get the article out of
the database" is a single business process and shouldn't be hardcoded over
and over into separate templates

i thought that was the only sane way to do it!!

actually, to tell the truth, my archive page also has other queries in it

for example, http://r937.com/archive.cfm?archive=sql isn't a single
article, but rather a list of them


More information about the thelist mailing list