<% dim error, error_msg if (Request.QueryString("login") = "yes") then 'they want to login, first check for *stuff* session("schk") = session("schk") + 1 if trim(Request.Form("login")) = "" then error = true error_msg = error_msg & "
  • In order to login you need to enter a login name :]
  • " end if if trim(Request.Form("pass")) = "" then error = true error_msg = error_msg & "
  • You seem to have forgotten to enter a password, lets try that again!
  • " end if if not error then 'call the login function and see who they are call forum_login(trim(Request.Form("login")), trim(Request.Form("pass"))) end if end if %> [ comments ]

    ..::LvL Login ...... it ain't a hard thing to do
    +---------------------

    <% '===================================== 'They may already be a vaild user, but may a *friend* is 'on their pc, or they have more than one login? (therefore 'always give them a chance to login?) if (not session("schk") > 2) then 'Response.Write("Request.Cookies(""lvl"")(""fourmid"")=[" & Request.Cookies("lvl")("fourmid") &"]") %>

    <% if (error) and (not session("schk") > 2) then Response.Write("Looks like there was a problem:

    ") end if %>
    ?login=yes" method="post">
    login:  "" then Response.Write(Request.Form("login")) else Response.Write(Request.Cookies("lvl")("forumlogin")) end if %>" />
    pass: " />
    <% if Request.Form("returnto") <> "" then %> "> <% else %> "> <% end if %>

    If you are a registered user and have logged in. You can create topics, and anything you add to the forum can have your tag line (instead of an encoded ip under your nick) and your signature. Click here to signup now!

    <% end if '================================ 'a simple security check to stop people guessing logins if session("schk") > 2 then %>

    Looks like you have forgotten your login details. If you do have an active login for the ..::LvL Forums go to the password check page to have your login details sent to your email address.

    <% end if %>