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
-talk
Subject: Query Results sent from search engines CGI variable?
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
What I don't know is if it is available in
the CGI variables Cold Fusion can get from IIS6.
The few times I've had to do this I parsed out the original query from the
CGI.HTTP_Referer variable (URL string of the page that linked to yours).
The format is slightly different depending on which
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
Try using cfdump to output the CGI scope. Then you will be able to see all the
CGI variable available to you.
cfdump var=#cgi#
Wil Genovese
Sr. Web Application Developer/
Systems Administrator
Wil Genovese Consulting
wilg...@trunkful.com
www.trunkful.com
On Jun 1, 2010, at 3:34 PM, UXB
5 matches
Mail list logo