Blocking own site from referer page

Topics: Business Logic Layer
Mar 15, 2008 at 9:17 PM
I have a lot of entries in my referer-page that origin from my own site. But it seems to me that these should not be in the list. If I look at the code in the ReferrerModule.cs (around line 60) the code is:

if (context.Request.UrlReferrer != null)
Uri referrer = context.Request.UrlReferrer;
if (!referrer.Host.Equals(Utils.AbsoluteWebRoot.Host, StringComparison.OrdinalIgnoreCase) && !IsSearchEngine(referrer.ToString()))
ThreadPool.QueueUserWorkItem(BeginRegisterClick, new DictionaryEntry(referrer, context.Request.Url));

Also, the preliminary tests I have shown do indicate that the threadpool is not queued up - so why do the entries from my own site appear in my referer-list?

Any thoughts?


Mar 15, 2008 at 10:56 PM
Same problem here, which I've issued as work item last month. No word from the BE.NET dev team though, but I hope they can and will fix it.

Jesper, what's your www-subdomain-policy? I set mine to 'ignore' to workaround some GoDaddy issue.

Thank you too,
Mar 16, 2008 at 12:28 AM
Hi Mike,

My "www subdomain ploicy" is also set to "ignore". I will try to fiddle with it and see what results I get.

Btw, I am using the release 1.3.0 .