Homework
Here's a sample login page I made for the Acme website:

Here's the code that backs this page up. Note that I've used server-side VB.Net programming to verify the login and password rather than a pair of validation functions. This is because ASP.Net validation functions send an unencrypted version of the password to the client machine, whereas this code will be compiled and run on the server without sending any secure information to the client.
Private Sub LoginBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginBtn.Click
Feedback.Text = ""
If (Username.Text = "kvlinden") Then
If (Password.Text = "secret1") Then
Feedback.Text = "you're in..."
Else
Feedback.Text = "invalid password..."
End If
Else
Feedback.Text = "Unknown user..."
End If
End Sub
Personal Database Project
I accepted any application of this or similar technology for your PDP.
Back to the top