Code Review


.ASP file

Session(“ssMemberVerified”) = Application(“SecurityKey”)

.JSP file

out.println("<p><b>Authentication Failed.</b><br>The Username/Password combination 
	you supplied was incorrect.  Try again.</p>");
AttemptCnt = AttemptCnt + 1;
AttemptCount = Integer.toString(AttemptCnt);
isLoggedIn = false;
if (AttemptCnt >= 3)
{
	out.println("<p><i>Error..........You have unsuccessfully tried to login "
			+AttemptCnt+" times.<br>");
	out.println("<i>Userid </i><b>"+ LoginUsername +"</b><i> has now been 
			disabled. Please contact XXXXXX to re-activate your userid.</i></p>");
	AttemptCnt = 0;
	//	set database switch here (check database switch up front)
}


Navigational Aids
Back


This page is maintained by Foofus.
Send comments or questions to foofus@foofus.net.