3.2.0

Response Status

Hi,

Is there a way to retrieve the status code when using the Active.HTTP.Request object. I would like to display a message to the user only the status code is other than 200

Thanks
Bhaskar
July 26,
Here is the code:

// save default response method
    var defaultResponse = table.response;

    // override with your own
    table.response = function(xml){
        alert(this._http.status);
        defaultResponse.call(this, xml);
    }


In general please avoid using members with the names starting with underscore - those are considered 'private', but in this case there is no other solution...
Alex (ActiveWidgets)
July 28,

This topic is archived.

See also:


Back to support forum