在输出session的页面代码中,添加如下:

Response.AddHeader("P3P", "CP=CAO PSA OUR");

即可。

跳转代码如下:

Response.Write("<script type=\"text/javascript\">window.parent.location.href = '" + ssoUrl + "';</script>");
Response.End();

这样iframe嵌入页面时,就不会页面在iframe中打开了,而是在新的窗口打开。

相关文章:

  • 2022-03-03
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2021-12-29
  • 2022-02-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-01-22
  • 2021-10-10
相关资源
相似解决方案