急急急急!!!Request.ServerVariables("LOGON_USER")在框架中使用的问题?

jackeroo jackeroo 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我现在遇到一个问题,在框架中用Request.ServerVariables("LOGON_USER")有时取到值,有时去不到!太郁闷了!请大家帮忙分析一下!
我的程序是这样的,用户点击一个链接后,弹出域登录窗口,用户输入账号密码后进入一个frame,frame中是这样的:
<frameset framespacing="0" rows="85,*,26" border="0" frameborder="0" >
<frame name="top" scrolling="no" noresize target="contents" src="top.asp">
<frameset cols="158,*">
<frame name="tree" target="main" scrolling="no" src="left.asp?clicktype=<%=clicktype%>">
<frame name="main" scrolling="auto" src="<%=firstURL%>">
</frameset>
<frame name="bottom" scrolling="no" noresize target="contents" src="bottom.asp">
<noframes>

<body topmargin="0" leftmargin="0" >

<p>此网页使用了框架,但您的浏览器不支持框架。</p>

</body>
</noframes>
</frameset>

结果在tree和main两个frame中,Request.ServerVariables("LOGON_USER")有时取到值,有时去不到,很不稳定,但是象Request.ServerVariables("LOCAL_ADDR")就可以取到。
...全文
评论 1
收藏 已收藏
分享
返回顶部
jackeroo
ASP 28,401 成员 356,940 内容