Wednesday, July 30, 2014

<% needAuthentication = True If Request.Form.Count > 0 Then If Request.Form("username") <> "jon" Or Request.Form("password") <> "secret" Then ' Redirect to another URI Response.Redirect("/") Response.End End If needAuthentication = False End If %> <% If needAuthentication Then %>
Username:
Password:
<% Else %>

Page content here

<% End If %>