Disabling second browser instance

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
Michael

Disabling second browser instance

Post by Michael »

Hi,

We are using version 2.04 with autorestart enabled.

We would like to prevent students from opening new instances of the browser. But when DisableSecondInstance is set to True, and the user attempts to open a second instance, the dialog box opens up and cannot be closed. If no SecondInstance file exists, then a error message opens in place of the dialog box, and it also cannot be closed.

Does this mean that autorestart cannot coexist with DisableSecondInstance?

Thanks,
Michael.

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

AutoRestart will cause problem with disable second instance since the second instance starts a new thread and AutoRestart tries to keep it open while PWB tries to close it.

Have you tried using the PWB setting restart on close instead of AutoRestart?

--Scott

Michael

Disable second browser instance

Post by Michael »

Scott,

We have Restart on Close enabled. I thought this was AutoRestart?? If we disable Restart on Close, they can close the first parent window, which is set to open on startup. We want to keep this first window open, but prevent them from opening subsequent parent windows.

Is there some other place where AutoRestart can be disabled?


Thanks,
Michael.

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

There is a program written by Eric Holt called AutoRestart that we host on this site that conflicts with some of PWB v2s more advanced options.

There is a fix in PWB v2.04 r2 that may help. Here are the few fixes in v2.04 revision 2.

Fixed Restart on close conflicting with disable second instance
Fixed Better filter reporting in history file
Fixed Activity warning resetting activity timer

--Scott
Last edited by Scott on Fri May 30, 2003 9:19 am, edited 1 time in total.

Guest

Post by Guest »

Thanks,

204r2 worked fine. Does everything we want.

Michael.

Post Reply