location.href 和session的问题

xiaoxiao2026-05-20  2

一个页面有两个 iframe 在其中一个iframe页面内访问另一个name=main 的iframe,让main定向到另一个页面 用以下的js 1. parent.document.getElementById("main").src = "../friendAction!queryAllFriendInfo.fog?type=1" 2. parent.document.getElementById("main").contentWindow.location.href= "../friendAction!queryAllFriendInfo.fog?type=1" 用2方法:在friendAction 中的queryAllFriendInfo得到session 从session中取值(session一定有值的,别的页面测试有的) 竟然为null, 用1 却不为空,不知道怎么回事
转载请注明原文地址: https://www.6miu.com/read-5049069.html

最新回复(0)