View Single Post
Old 11-01-2002, 11:34 AM  
richard
Confirmed User
 
Join Date: Feb 2001
Location: UK
Posts: 543
possible, but involved if you wanna do a really tight job of it.

If you want to check the pages real time, then its going to be slow (your server has to get the refering page, parse it, find your redirect factors).

You could reduce that lag by checking refering pages every X minutes/hours.

If you wanna do it on the fly, you gotta GET the refering page the first time it shows up, then after that send HEAD requests to see if its changed since the last time you checked it.

Could get messy with lots of traffic from lots of traffic sources...

Rich.
richard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote