%@ Language=JScript %>
<%
WizproASPObj = Server.CreateObject("WizAspServer.WizApi")//ComExeServer.WizApiTest
/**********************************************************************/
/* Check if user with this name exist in Wizcon aplication */
/* if exist return true , else false*/
/**********************************************************************/
function CheckUserInformation(username, userpassword)
{
try
{
WizproASPObj.UMVerifyWebUser(username, userpassword);
return true;
}
catch(e)
{
return false;
}
}
var userName;
var password;
var isUserValid = false;
userName = "" + Request.Form("loginName");
password = "" +Request.Form("loginPassword");
//Response.Write(userName +"
" +password);
if((userName == "")||(userName == "undefined"))
{
Response.Write("