Page viewer webpart won't take login parameters

≯℡__Kan透↙ 提交于 2019-12-01 09:50:47

Assuming you are using Internet Explorer, the problem is with IE's security policies.

The Page Viewer Web Part is basic and pretty much just inserts an IFRAME tag into the page with the URL you have supplied. This displays your external site in a child frame.

By default, child frames cannot store cookies for use by the parent. The URL you are passing through to the external site contains the username and password which is fine, however the site needs to store a cookie so it knows you have logged in as you browse other pages within it. As it can't store the cookie, the child site assumes you have not logged in.

You could test this by adding the external site to your Trusted Sites list in IE and set the Trusted Site security to Low. Then it should be able to store the cookies it needs. Alternatively if you have control over the external site, this KB article may help you.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!