:: Forum >>

How to access Status Code and Status Message

A request is send to an active server page.
the page cannot perform the task and sets
Response.StatusCode and Response.StatusDescription.
How can i access these values in AW.HTTP.Request ?
Thomas Henrichs
Sunday, June 22, 2008
Unfortunately the only way to access the status code and status text is through 'private' _http attribute of the AW.HTTP.Request object.

var rq = new AW.HTTP.Request;
...
rq.request();
alert(rq._http.status);
alert(rq._http.statusText);
Alex (ActiveWidgets)
Monday, June 23, 2008

This topic is archived.


Back to support forum

Forum search