将登录表单发布到服务器处理程序时,发送 math.random nocache 参数的确切目的是什么?
var email = encodeURI(document.getElementById('emailLogin').value);
var psw = encodeURI(document.getElementById('pswLogin').value);
// 设置要添加到 URL 请求的随机数
nocache = Math.random();
// 传递登录变量,如 URL 变量
http.open('get', 'login.php?email='+email+'&psw='+psw+'&nocache = '+nocache);