I am trying to write some search engine optimized code for a Coldfusion project, and one thing I am trying to accomplish in that is changing a few page variables when the page is referred from different search engines.
Does anyone know if there is a way, or if it's even possible to mock the CGI.HTTP_REFERER to Google, Bing, Yahoo, etc??
Refactor your method, instead of using CGI scope directly, use an argument, e.g.:
<cfargument name="cgiScope" type="struct" default="#CGI#" require="false">
Done. :)