Hello, everyone.

Is there a way to completely abort the execution of an ADP page if an error
occurred?  For example, if I have a page that runs something like this:

<%
error "an error occurred here"
ns_adp_puts "this won't show up"
%>
<p>some html</p>
<%
ns_adp_puts "this will show up"
%>

and then I navigate to this page, the "<p>some html</p>" and the text "this
will show up" will still be returned as an output.  It seems that only the
block where the error occurred gets aborted.  Is this the correct behavior?
Am I doing my ADP files (or configuration) completely wrong?

I'm using AOLserver/4.0.10 distribution from macports.


Best,

Lemuel


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to