当使用ASP.Net Ajax调用PageMethods时,如何从“成功”方法访问Http响应头?来自ASP.Net的访问响应头PageMethod调用
例如:
PageMethods.DoSomething(
function(result){successMethod(result)},
function(error){errorMethod(error)}
);
function successMethod(result){
//------how can I access the Http response headers from here? ------
}
感谢所有帮助
谢谢佐尔坦勋爵。这是非常有用的信息! – James 2010-01-11 20:00:04
很高兴可以使用;) – 2010-01-11 21:14:42