如何在iframe携带登录信息登录?
在如下的iframe网站有登录功能,如果不登录看不到页面数据,现在想携带登录信息登录,请问应该怎样做?
查了一下应该是把cookie携带进去应该可以,不过不知道应该怎样携带
<iframe
id="iframe_dom" name="iframe_dom" frameborder="0" scrolling="auto"
style="width:100%;height: 100%; margin-left: auto;margin-right: auto; "
src="http://10.234.56.78:8000/show_profile/">
</iframe>
$("#iframe_dom").attr("src","http://10.234.56.78:8000/show_profile/?uid="+result.uid.replaceAll("-", ""));