Hello experts.
I want to call a page by MvCALL - different server, maybe an .htm maybe an
.asp. If the page is there and I can get to it I would like it to display,
hence <MvEVAL EXPR="{callvalue}">
But if the page is gone or unavailable I want it to generate a handlable
variable (err1) and NOT show the error message and not kill the script.
I've tried 20 variations of the below code (more, less, different). I don't
do a lot of error trapping and this seems to be getting the best of me. Any
help out there. (this is non-compiled by the way).
Thanks
Keith
[email protected]
<MIVA ERROROUTPUTLEVEL="runtime"
ERRORMESSAGE="NOFILE ERROR">
<MIVA MvCALL_ERROR="nonfatal,nondisplay">
<MvCALL
ACTION=<A HREF ="http://www.pageIwant tofind.com/dosomething.htm">http://www.pageIwant tofind.com/dosomething.htm</A>
METHOD="post">
<MvEVAL EXPR="{callvalue}">
</MvCALL>
<MvIF EXPR="{ MvCALL_ERROR NE '' }">
<MvASSIGN NAME="err1" VALUE="1">
</MvIF>
<MvIF EXPR="{ err1 EQ '1' }">
....
Comment