下面是我设计的一个框架页面,根据不同的值使其content这个框架中出现相应的网页。
<%if session("a_username")="" then
response.Redirect "index.asp"
end if
dwjbid=session("a_dwjbid")
%>
<HTML><HEAD><TITLE>永探科技考勤监控系统</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<frameset rows="70,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="/admin_top.asp" name="topFrame" frameborder="no" scrolling="NO" noresize marginwidth="0" marginheight="0" >
<FRAMESET border=0 cols=182,9,* frameBorder=NO frameSpacing=0 name=left>
<FRAME frameBorder=NO name=middlelight noResize scrolling=yes src="/Admin_left.asp">
<FRAME frameBorder=NO name=middle noResize scrolling=no src="/Admin_Change.htm">
<%select case dwjbid
case 1%>
<FRAME name=content frameBorder=0 marginWidth=0 marginHeight=0 border=0
src="/Admin_News.asp">
<%case 2%><FRAME name=content frameBorder=0 marginWidth=0 marginHeight=0 border=0src="/Admin_News_k.asp">
<%case 3%><FRAME name=content frameBorder=0 marginWidth=0 marginHeight=0 border=0src="/Admin_News_z.asp">
<%case 4%><FRAME name=content frameBorder=0 marginWidth=0 marginHeight=0 border=0src="/Admin_News_m.asp">
<%case 5%><FRAME name=content frameBorder=0 marginWidth=0 marginHeight=0 border=0src="/Admin_News_y.asp">
<%end select%>
</FRAMESET>
</FRAMESET><noframes></noframes>
</HTML>
可是只有在dwjbid为1时出现 admin_news.asp 其他的都为空白页,如果刷新空白页会变为admin_news.asp.这是为什么,各位老大,帮我呀