refferer werkt niet lekker..

Pagina: 1
Acties:
  • 39 views sinds 30-01-2008

  • source
  • Registratie: Januari 2000
  • Laatst online: 05-06 11:53
(jarig!)
heb dit stukje javascript om mijn bezoekers te tracken.

[html]
<script language="Javascript">
<!-- Hide from old browsers
pagina = escape(document.location.href);
ref = escape(document.refferer);
if ((ref == "") || (ref == "undefined")) { ref = "bookmark"; }

ss = screen.width + "x" + screen.height;
sc = (navigator.appName.indexOf("Microsoft") > -1) ? screen.colorDepth : screen.pixelDepth;
src = "hits.php?pagina=" + pagina + "&ref=" + ref + "&ss=" + ss + "&sc=" + sc;
src = "[img]\""[/img]";
document.write(src);
// Stop hiding -->
</script>
[/html]

nu is de waarde van ref bij mij altijd bookmark.. kan er dus niet achterkomen hoe dat komt.. ziet iemand de fout?

Diplomacy is the ability to tell a person to go to hell in such a nice way that he looks forward to the trip.


Verwijderd

document.referrer

En het is hier geen debug service natuurlijk. Met een reference guide kun je veel basic dingen zo oplossen.

Dit topic is gesloten.