Page 1 of 1

How to return HTTP 500 error code programmatically

Posted: Sat Nov 28, 2009 5:20 pm
by glen09
I'm using php to access MySQL DB. When there is an DB error, I want my php code returns a HTTP 500
Internal Error code back to the Flex client. The HTTP error codes would trigger the Flex FaultEvent. How can
I send the HTTP error code to the client?

Re: How to return HTTP 500 error code programmatically

Posted: Sat Nov 28, 2009 6:42 pm
by daedalus__