B. Wise:
> > I have a web based application that is triggered by a
> > submit button.  While this script is running is it
> > possible via the same web page to have a button that
> > will stop the process sort of like a cancel?

Jason:
> Short answer: No.  You need to either kill the process from 
> the server, or 
> create a separate web program to kill it.

That sounds like a 'yes' to me. The cancel button fires off a second script,
the purpose of which is to kill the first one.

Of course, there are a few considerations. Normally a button action forces
the browser to load the response page. There are several ways around this,
such as using frames, javascript, or the HTTP 'No content' response. Also if
there is likely to be multiple instances of the application running, you'll
have to uniquely identify each instance. All of this, while not simple, is
definitely doable.


-- 
Mark Thomas                    [EMAIL PROTECTED]
Sr. Internet Architect         User Technology Associates, Inc.

$_=q;KvtuyboopuifeyQQfeemyibdlfee;; y.e.s. ;y+B-x+A-w+s; ;y;y; ;;print;;
 

_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to