document.referrer Problem
-
in my application document.referrer is shown empty string ???
-
in my application document.referrer is shown empty string ???
From MSDN Library: "This property returns a value only when the user reaches the current page through a link from the previous page. Otherwise, document.referrer returns an empty string; it also returns an empty string when the link is from a secure site." Also, some antivirus/firewall applications remove the referrer information from requests, so you can't rely on it always be there.
Experience is the sum of all the mistakes you have done.
-
From MSDN Library: "This property returns a value only when the user reaches the current page through a link from the previous page. Otherwise, document.referrer returns an empty string; it also returns an empty string when the link is from a secure site." Also, some antivirus/firewall applications remove the referrer information from requests, so you can't rely on it always be there.
Experience is the sum of all the mistakes you have done.
Exactly...Thanks For Reply