解决window.showModalDialog丢失session的问题
来源:互联网 发布:知柏地黄丸 肾炎 编辑:程序博客网 时间:2024/04/30 06:54
在程序中使用window.showModalDialog打开窗口中,如果在弹出的窗口中还有windows.open的话,就可能会出现丢失session的问题,解决方法为尽量都使用window.open来打开。
window.showModalDialog("<%=url%>","todoWin","dialogWidth="+screen.width+";dialogHeight="+screen.height+";dialogTop=0;dialogLeft=0;");
改为:
window.open("<%=url%>","todoWin","width="+screen.width+",height="+screen.height+",toolbar=no,scrollbars=no,menubar=no,location=no,screenX=0,screenY=0");
如果在IE7或者IE8中打开不是弹出窗口,而是在选项卡中打开的话,在IE中---》工具--》Internet选项--》常规--》设置,在“遇到弹出窗口时”选择“始终在新窗口中打开弹出窗口”
- 解决window.showModalDialog丢失session的问题
- showModalDialog与window.open造成session丢失的问题
- showModalDialog()、showModelessDialog() session丢失问题
- 终于解决了一个困扰我许久的问题:通过window.showModalDialog打开的页面,Form提交,标题丢失
- 参数传递解决window.open的session变量丢失
- 解决iframe中session丢失的问题
- showModalDialog session 丢失
- showModalDialog session 丢失
- showModalDialog session 丢失
- showModalDialog session 丢失
- showModalDialog session 丢失[转]
- JS解决chrome37+ window.showmodaldialog函数不能使用的问题
- js window.location.href之后,session丢失的问题
- Window.ShowModalDialog的参数问题
- window.showModalDialog 缓存的问题
- Window.ShowModalDialog的参数问题
- window.showModalDialog的缓存问题
- Window.ShowModalDialog的参数问题
- .net网络编程之一:Socket编程
- 使主页呈现“飞舞”特效
- windows 下VC开发如何对齐
- 開使用 Live Writer 寫 CSDN 部落格
- 讲解Oracle数据库自动增长列的实现过程
- 解决window.showModalDialog丢失session的问题
- 疯狂的程序员
- 字符栈
- chap12
- tomat 不用重启,自动更新的设置。
- 使用Visual Basic 6.0开发程序的一些方法技巧收集之一:注册表操作
- ascii码转为对应的十六进制数函数
- 如何获得通过socket传过来的字节流的长度
- 中缀表达式转为后缀表达式