:: Forum >>

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
Monday, July 26, 2004
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)
Wednesday, July 28, 2004

This topic is archived.


Back to support forum

Forum search