Send a location hash through a referrer?

First, the hash portion of a URL is used on the client side only. It will never appear in server logs, requests, or as part of a REFERRER string Second, the only part of the url that can be changed without the page refreshing in the client side is the hash. So combine that with my first statement, and it becomes clear you cannot do what you are wanting The best course of action is to test if initial_referrer is set in the Query String.

If it is not, before the page loads, redirect to the same page but add your values to the query string. Now, when your page changes via location. Href the correct referrer info will be sent.

First, the hash portion of a URL is used on the client side only. It will never appear in server logs, requests, or as part of a REFERRER string. Second, the only part of the url that can be changed without the page refreshing in the client side is the hash.So combine that with my first statement, and it becomes clear you cannot do what you are wanting.

The best course of action is to test if initial_referrer is set in the Query String. If it is not, before the page loads, redirect to the same page but add your values to the query string. Now, when your page changes via location.

Href = the correct referrer info will be sent.

Hmm... I understand. Was wondering if I could avoid another request. – MB.

Jan 15 '10 at 17:40.

Location. Href = redirect_url. Split("#")0 + "#" + document.referrer.

1 The hash will never be sent to a server. It only has application on the client side. – Doug Neiner Jan 11 '10 at 1:23.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions