Detect if a page is within a iframe - serverside

后端 未结 5 1728
无人及你
无人及你 2021-01-03 22:22

How can I detect server-side (c#, asp.net mvc) if the loaded page is within a iframe? Thanks

5条回答
  •  独厮守ぢ
    2021-01-03 22:58

    There is no way of checking this that will fit your requirement of "secure" as stated in your comment on @WTP's answer.

提交回复
热议问题