在web.config 配置了跳转页面default.aspx,
======== web.config =================
<authentication mode ="Forms" >
<forms name ="AuthCookie" loginUrl="default.aspx" > </forms >
</authentication >
=================================================================
我想在登录验证正确后(login.aspx),把(default.aspx)跳转到一个全屏窗口
如何实现???x
------解决方案--------------------------------------------------------
通过中间页面跳转
然后用中间页面控制default.aspx全屏;
像这样:
var w=screen.availWidth-8;
var h=screen.availHeight-28;
var objwin = window.open('default.aspx',"enter","fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=" + w + ",height=" + h + ",top=0,left=0",true);