Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. xmlhttp.onreadystatechange=function()
  2. {
  3. if (xmlhttp.readyState==4 && xmlhttp.status==200)
  4. {
  5. srvresp = xmlhttp.responseText;
  6. if(srvresp == 0)
  7. {
  8. document.write(" not authenticated");
  9. }
  10. else
  11. {
  12. document.write("authenticated");
  13. }
  14.  
  15.  
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement