Why are the urls on the same site slightly different?

by on January 14, 2011

Q: These two links showed up on StatCounter, which I have my website linked to. They were both clicked on using the same computer, through facebook. Can you please explain the difference between the links? Why does one show “=40ecd” at the end, and the other shows “= dfdf2” at the end? I know that when the link ending with “=40ecd” was clicked, that pc was logged into my facebook account. Could this be the reason for the number difference?

www.facebook.com/l.php?u=http%3A%2F%2Fwww.nccart.com%2Fmrosado&h=40ecd

www.facebook.com/l.php?u=http%3A%2F%2Fwww.nccart.com%2Fmrosado&h=dfdf2


One Response to “Why are the urls on the same site slightly different?”
  1.  
    Picked as best answer

    The h= is a hash code,for security to ensure that the redirect URL actually came from facebook, otherwise without it someone could fake the redirect.

    If you try to use the URL by faking or getting rid of the hash you’ll either get an error or a warning message.