Friday, 9 April 2010

What is the Status means in Ajax term?

Whenever response return it also return status.

for example:

if (xmlhttp.status == 200) // i.e., OK
if (xmlhttp.status == 404) // i.e., Page not found.
if (xmlhttp.status == 500) // i.e., Session expired.

Cheers!

No comments:

Post a Comment