%
'===================
'make sure the data all matches up
dim emailexist, error, error_msg
set tigRS = Server.CreateObject("ADODB.Recordset")
query = "SELECT id, login, pass, unlock_key " & _
"FROM beta_mappers " & _
"WHERE " & _
"unlock_key = '" & SQLsafe(Request.QueryString("k")) & "'" & _
"and " & _
"email = '" & SQLsafe(Request.QueryString("e")) & "'"
'Response.Write("Query = [" & query & "]
")
tigRS.Open query,DSN,1
if not tigRS.EOF then
emailexist = true
Response.Cookies("lvlbeta")("mapperid") = tigRS("id")
Response.Cookies("lvlbeta").Expires = DateAdd("yyyy",1,now())
else
'they ain't in the DB :[
error = true
error_msg = error_msg & "
|
<% if error then Response.Write("There was an error processing your request.
Welcome to the ..::LvL Beta Mappers Section - you have successfully unlocked your login. You can now add your beta levels. Enjoy... <% end if %> |
|