Advertisement
Guest User

Untitled

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