I am wondering how people familiar with apache-asp would handle the
following issue:
I have a fill out form that POST's data to an asp page. That asp page will
perform some function, and report on what it found. In some cases, it won't
be able to perform the function for whatever reason. As I always test return
values for abnormal results, this page can also trigger an unexpected error
page.
So upon executing the asp page, I can output one of three different results:
1) Ok - heres the data
2) Nope - user error
3) unexpected error occurred
I would normally code 1) into the asp page in question. If condition 2) is
flagged in the code, can I conditionally <--#include the output for case 2?
As for 3: I want this page to send email to the site administrator as well
as give the user a descriptive message, so this functionality should be
available to all pages. I would probably put it in the global.asa (or a
PerlModule'd module). In this case, I cannot include an asp page.
I know these are basic questions, but I am just moving to apache-asp after a
long stint in cgi programming!
Thanks,
Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]