It'll be in the referrer, if present, which is sent by the browser.
cgi.http_referer, split it up, check the domain to identify the search
engine, and then check the query string to find the search query under
the corresponding variable.

cheers,
barneyb

On Tue, Jun 1, 2010 at 1:34 PM, UXB Internet <denn...@uxbinternet.com> wrote:
>
> I have a client who wants to make their site more user friendly when someone
> is sent to them from a search engine.  What they want is when someone comes
> from a search engine link that we obtain the original search query (if sent)
> and in addition to showing the requested page present a list of other items
> from their site matching an internal search result using that criteria.
>
> I know that many search engines send the original search query over to the
> website I am assuming in the header because I can obtain that information
> from the web-server log reports.  What I don't know is if it is available in
> the CGI variables Cold Fusion can get from IIS6.
>
> Does anyone know if they are available and how to programmatically extract
> them for use within Cold Fusion?
>
>
> Dennis Powers
> UXB Internet - A Website Design & Hosting Company
> P.O. Box 6028
> Wolcott, CT 06716
> 203-879-2844
> http://www.uxbinternet.com
>
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334199
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to