% response.redirect("../Downloads3/login.asp")%> <% '------------------------- LKEY = request("LKEY") if len(LKEY) > 2 then '------------------------- %> <% 'Get it here MYSQL = "EXEC validatedownloadexamproPEN @licence = '" & LKEY & "'" rs.Open MYSQL, DataConn validate = rs("Validate") session("org") = rs("org") rs.Close if validate = 1 then session("in") = 1 session("lic") = LKEY response.redirect("index.asp") else errText = "Please ensure you have typed your licence correctly." end if end if %>