codice:
function checklogin() {
var a = BatchApplet();
if (Ne(typeof(document.FSender),'undefined') && Ne(typeof(document.FSender.m_cRegionalSettings),'undefined')) {
a.SetParameterString('m_cRegionalSettings',document.FSender.m_cRegionalSettings.value);
}
a.SetCallerStringVar('w_password',WtA(w_password,'C'));
a.SetCallerStringVar('w_username',WtA(w_username,'C'));
a.SetCallerStringVar('StrLoginError',WtA(w_StrLoginError,'C'));
a.SetParameterString('m_bApplet','true');
a.CallServlet(PlatformPathStart('checklogin'));
if (Eq(typeof(m_bCalculating),'undefined') || ! (m_bCalculating)) {
m_cErrorFromRoutine = a.errmsg;
}
w_password = a.GetCallerStringVar('w_password');
w_username = a.GetCallerStringVar('w_username');
w_StrLoginError = a.GetCallerStringVar('StrLoginError');
CalledBatchEnd();
}
questo è il file chechklogin.js