Most of our components require database access so I have coded a connect
in the activate and a disconnect in the deactiavte, however if for some
reason the component can not get a connection ( db server busy ) then I
want the activate to fail and return a specific error code ( i.e -999 )
and thereby the calling script can send a message to the web browser
saying the server may be busy and to wait and try again. I have not been
able to return a fail and setabort in the actiavte of the components, it
causes INTERNAL EXCEPTIONS in jaguar srvlog.
Is there a better way to do this?
Download VCard asimmond.vcf