Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Document.referrer blank 1

Status
Not open for further replies.

Placido

MIS
Mar 13, 2002
105
0
0
IT
Hi-

Does anybody knows why when you link from a secure site ( to a non secure site ( the document.referrer is not being filled?
Is there a way to change that?

Ciao
Placido
 


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.

For example, if PageA.htm includes a link to PageB.htm, and the user clicks that link, the document.referrer on PageB.htm returns "PageA.htm". However, if the user is on PageA.htm and types PageB.htm into the address line or uses Open in the File menu to get to PageB.htm, the document.referrer returns an empty string.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top