Jump to content

Return to the page before?


Recommended Posts

It's not the history, the referer (which is misspelled) is a header that the browser sends to the server when it requests a page. It will not send the referer header if you are going from an SSL-enabled page to a non-SSL page, and there are also options in several browsers not to send referer headers at all. If you type an address into the URL, regardless of your history or if you are on a page currently, the browser will not send a referer header. The referer header is used to tell the server where the link to the page was that the user clicked on, it's most often used with analytics packages to keep track of which search engines users are coming from. If you click a link on a Google result page the referer header will also include all of the search terms that the user searched for, so the site can also determine what keywords led a user to their site. It doesn't have anything to do with history though, the history is an internal part of the browser, the browser doesn't send its history to anything. When a browser requests a page inside of a frame it uses the parent page as the referer, if I remember correctly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...