I?d like to save the referring page to my site ? only external sources and then pass it in a session to another page where I log this url. My site uses the index.php file to connect to all pages of the site (like a global include). So my problem is that I do record the referring url, but it is erased if a user passes from page to page ? my script writes the previous page, instead of just saving the entrance url and that?s it. Anyone can help here?