> No, you're both wrong. According to this > http://www.mozilla.org/projects/netlib/Link_Prefetching_FAQ.ht > ml#As_a_server_admin_can_I_distinguish > > it should be: > X-moz: prefetch > > <cfif structKeyExists(cgi, 'HTTP_X-MOZ')> > <cfif cgi.HTTP_X-MOZ EQ 'prefetch'> > <cfheader statuscode="403" statustext="Google Web > Accelerator requests are forbidden." /> > <cfabort /> > </cfif> > </cfif>
When an HTTP client sends an HTTP request header to a CF URL, that URL can reference the header using the "HTTP_" prefix. In addition, CF treats variable names as uppercase. So, you would refer to this CGI variable as CGI.HTTP_X-MOZ from within your CFML code. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205919 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54