Can anyone explain what the purpose of the green code and how it works?
if Strcomp(Request.Form("User"),Username,1)=0 AND Request.Form("password") = Password then
'Set the validation cookie and redirect the user to the original page.
Response.Cookies("ValidUser") = Validated
'Check where the users are coming from within the application.
If (Request.QueryString("from")<>"") then
'If the first page that the user accessed is the Logon page,
'direct them to the default page.