> > ALL CGI variables are ALWAYS "defined" within CF, so you
> > test for them using len() instead of isdefined().
>
> But isn't cgi.http_referer, for example, exist only if the
> page is called from a form? So it wouldn't exist if you came
> from a link?
The CGI variable itself may not exist, in the sense that the browser didn't
create a Referer header, but CF doesn't care. If you run this:
<cfif IsDefined("CGI.FOO_BAR")>
CGI variable detection is crap!
</cfif>
you'll see what I mean.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists