In this case, you could have a page strictly for redirection (let's
call it
redirect.cfm).
Then, in that file you'd do something like this:
<cfparam name="URL.q" default = "">
<cfif len(URL.q) gt 0 then>
<cflocation url="#URL.q#">
<cfelse>
... redirect to another page - either back, or an error page maybe
</cfif>
This would display the page, without the actual refering link
(www.mysite.com/redirect.cfm?q=http://anothersite.com), and would
allow you
to add logging or anything else before the CFLOCATION call.
Hopefully I understood what you are asking correctly.
Shawn Grover
-----Original Message-----
From: Jason Davis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 2:24 AM
To: CF-Talk
Subject: Re: "clean" redirection?
Jim,
> They're just using a bit of script to control what appears in the
browser's
> status bar, triggered by the mouseover. This is from a google link:
>
> <a href=/url?q=http://www.gamblehouse.com
> onMouseOver="window.status='go to www.GambleHouse.com';return
true"
> onMouseOut="window.status='';return true">
> Online Casino Guide - Find Casinos with the Best Payouts and
Bonuses!</a>
I know about the status bar, what I'm asking is, what is the code
behind
/url?q=http://www.gamblehouse.com
how are they reffering the webpage, without the
/url?q=http://www.gamblehouse.com
address appear on my browser?
Thanks.
> Jim
>
>
> ----- Original Message -----
> From: "Jason Davis" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, February 21, 2002 12:14 AM
> Subject: OT: "clean" redirection?
>
>
> > I want to reffer certain webpages upon click of an ANCHOR
> > something like:
> > <a
> >
href="http://www.mydomain.com/redirect/ref.cfm?url=http://www.jumpto
com">
> > Click here to visit</a>
> >
> > Issue is, on ref.cfm I have a script that counts the "hits"
> > I gave to "http://www.jumpto" - but I don't want
> > the entire link
> >
(http://www.mydomain.com/redirect/ref.asp?url=http://www.jumpto.com)
> > to be displayed in the address bar of IE.
> >
> > I tried <script>location.href='http://www.jumpto.com'</script>
> > on the ref.asp file, but it "cropps" the back button..
> >
> > I was wondering how google/yahoo do their reffering, without
> > the user "seeing" the actual reffer.
> >
> > Google:
> > http://www.google.com/search?hl=en&q=casino
> > (see one of the sponsered links)
> >
> > Yahoo:
> > http://search.yahoo.com/bin/search?p=casino
> >
>
______________________________________________________________________
Dedicated Windows 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=coldfusiona
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