HTTP Referer on HTML Frames

2019-06-08 02:49发布

Say that I have a link from one.com to two.com/A.html. A.html looks like this

<FRAMESET cols="100%">
  <FRAME src="B.html">
</FRAMESET>

The HTTP Referer on A.html is "one.com", but what will the HTTP referer be on B.html? Is this browser specific?

2条回答
放荡不羁爱自由
2楼-- · 2019-06-08 03:20

it'll be two.com/A.html, the link from the container. It's not browser specific, unless the browser is told to send a different referer via configuration

查看更多
来,给爷笑一个
3楼-- · 2019-06-08 03:29

It should be two.com/a.html (i.e. the page that has the frameset on it).

Remember that these referrers are set by the browser and therefore can be faked.

查看更多
登录 后发表回答