File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes only allow one instance of browser running ???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "only allow one instance of browser running ????" Watch "only allow one instance of browser running ????" New topic
Author

only allow one instance of browser running ????

v fox
Greenhorn

Joined: Jan 09, 2001
Posts: 11
Hello --
Is it possible to prevent more than one instance of the browser running? We bring up IE from powerbuilder to bring an applet to life. We don't want multiple instances of the browser running on a client PC. Is there a way to prevent the user from opening multiple instances of the browser?
Thanks for your insight.
Danny Mui
Ranch Hand

Joined: Dec 14, 2000
Posts: 42
I think it is highly likely that the operating system would not allow you to prevent a user doing what they want (like loading additional programs).
I don't know how the applet/browser jvm works, but if the jvm is the same for all instances of the browser you can have the applet display some message (detected via a static variable) saying you don't want to have multiple applets open. Lots of other fun stuff can be done too (IIOP/RMI etc).
 
 
subject: only allow one instance of browser running ????
 
Similar Threads
Session problem in Enterprise Java / Weblogic application
only allow one instance of browser running ????
distinguishing 2 browsers in the same session.
j2ee application instance in tomcat container
Locking - synchronized