in reply to Re: perlscript to close internet explorer?
in thread perlscript to close internet explorer?

hmmm...

the <script></script> snippet would be called when the fatal error occurred?

If so, it doesn't exactly follow the flow, which is:

1. good things happen -> user clicks exit button -> processing shuts down -> user closes browser

2. BAD things happen -> user sees fatal error screen where s/he must record some info for others to help resolve -> user clicks EXIT button and (hopefully) browser closes.

If I issue <script>close() when the fatal error occurs, wouldn't this preclude the error screen from appearing? The idea is that s/he MUST do something with the info on the error page.
  • Comment on Re: Re: perlscript to close internet explorer?

Replies are listed 'Best First'.
Re: Re: Re: perlscript to close internet explorer?
by joshua (Pilgrim) on Jun 05, 2002 at 14:20 UTC
    Well, I guess you didn't make it clear that it was imperative for the user to see that fatal error until your previous message. I do have another solution though...

    You could open a new window for the processing,
    <form action="process.cgi" method="POST" target="process">
    Then, if there is a fatal error and the user clicks the close window button, IE wont prompt them. (It doesn't prompt on new windows, just their parents.)

    hth.
    Joshua

      Thanks for the idea, Joshua, I'll take it under advisement while I consider exactly what I want the app to do in certain conditions.

      Dooj