exit server.execute

J

JT

i am using server.execute to execute another .asp page. however, i would
like the page to stop executing if it encounters an error - something like
exit sub/function, the problem is that this is neither - it's just another
asp page. i know there must be some easy way to do this.

tia
jt
 
K

Ken Schaefer

On Error Resume Next
then check for errors (Err.Number <> 0)
then do whatever

-OR-

Assuming IIS v5 - have you looked a custom 500-100 handler page?

Cheers
Ken



: i am using server.execute to execute another .asp page. however, i would
: like the page to stop executing if it encounters an error - something like
: exit sub/function, the problem is that this is neither - it's just another
: asp page. i know there must be some easy way to do this.
:
: tia
: jt
:
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,048
Members
48,769
Latest member
Clifft

Latest Threads

Top