%
durum = request.Form("durum")
if durum = "1" then
name = request.Form("name")
name = Replace(name, "'", "")
user = request.Form("user")
user = Replace(user, "'", "")
pass = request.Form("pass")
pass = Replace(pass, "'", "")
hata = ""
if Len(Trim(name&""))=0 then
hata = "
Please fill in your name."
end if
if Len(Trim(user&""))=0 then
hata = "Please fill in username."
end if
if Len(Trim(pass&""))=0 then
hata = hata & "Please fill in your password."
end if
if hata <> "" then
info = "Please fill in all requested information."
durum="2"
else
if user = "ogbrandesign" and pass = "og261206" then
Response.Cookies(""&Session.SessionID&"") ("Admin") = "true"
Response.Cookies(""&Session.SessionID&"") ("name") = name
Response.redirect "main.asp"
else
info = "User not found"
end if
end if
end if
%>
Login Gatrium