• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

Sniff Refferer

Is there a way to customize a homepage view using javascript to tell you who the reffer is and show a custom view of the page (with AJAX or Flash) when a certain referer is detected?  Are there any standard AJAX frameworks that do this?
  • 2
1 Solution
Javascript Code

Source of code : http://www.webmasterworld.com/javascript/3564410.htm

I would go along and agree with what was mentioned on that page, which is to use htaccess if you are on an apache server.  If you have access to a server side programming language like PHP, ASP, Coldfusion... you can easily complete the task that way.
walker6o9Author Commented:
Sorry if this question is noobish, but how would I modify that to work for a non www web address, like this:

walker6o9Author Commented:
You can ignore my last comment, I got that problem solved.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now