HTTP_REFERER=http://www.helloworld.com/thepage/that_the/person.came?from


<cfscript>
    UserDomain=Replace(CGI.HTTP_REFERER,"http://","";);
    DomainEnd=Find("/",UserDomain);
    UserDomain=RemoveChars(UserDomain,DomainEnd,Len(UserDomain));
</cfscript>
<cfoutput>#UserDomain#</cfoutput>



----- Original Message -----
From: "CF-Talk (SD Solutions)" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 11:20 AM
Subject: counting of domain-acesses


> Hi list, I want to count accesses of one certain domain on a
customerdomain
> via bannerlinks.
>  ( e.g.: www.exampledomain.com )
> The cgi.http_referer variable gives me an exact url
> But the acesses do come from more than one http_referer
> I haven't found s.th. like: cgi.http_refererdomain
> which would have been helpful.
> Any ideas what I could do ?
>
> Uwe
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to