1

When using window.open(....) is there a way to use the -nomerge option.

I'd like to be able to check for the browser type, and open a new window with a new session. Is there a clean way to do that in javascript.

4

2 回答 2

1

您不能让 javascript 从操作系统运行可执行文件,因此您不能像这样指定 -nomerge 标志。

另外,现在是-noframemerging http://msdn.microsoft.com/en-us/library/ee330728(v=vs.85).aspx

于 2011-01-12T20:03:33.027 回答
0

AFAIK,您无法在任何浏览器的新窗口中获得新会话。即使使用新窗口,他们也会使用任何现有的会话 cookie。

于 2011-01-12T19:54:59.227 回答