Well, you could create your own class inherited from the Console class and
add a static field that would keep track of how many instances of your class
there are. You can then check this field in your code to only open a new
console session if there are no other sessions open. This is just a thought
and there might be another more efficient way to do it...anyone?!
Chris
--
Securing your systems is much like fighting off disease -- as long as you
maintain basic hygiene, you're likely to be okay, but you'll never be
invulnerable.
Steve Shah - Unix Systems Network Administrator