"Ross Ferris" <rossf (AT) stamina (DOT) com.au> wrote:
Quote:
Well, without ever having USED FlashConnect ... |
(Geez) And from someone who actually uses the software and isn't
trying to sell you something else...
The error means you executed a RETURN statement without executing the
standard sequence to generate a web page:
call w3htmlinit(...)
call w3htmlheader(...)
generate page data here...
call w3htmlfooter(...)
The error usually occurs in logic like this:
open file else return
or
read rec from file,id else stop
You have to remember that the end-user ALWAYS gets a return page, even
if it's an error page. My standard way to handle those errors is like
this:
open file else
call weberror(123)
return
end
or
read rec from file,id else
ErrorDesc = file:" ":id
call weberror(124)
return
end
My weberror program has a large Case structure that checks for known
error numbers and returns and appropriate message using the
FlashCONNECT Calls indicated above. Again, the end-user ALWAYS gets a
return page, even if weberror itself gets an error.
HTH,
Tony