Tanto per approfondire cercavo di capire il senso di questo codice che ho trovato in giro... che senso ha?
Cosa serve? che significa: "not Instr(strScriptName,"file1.asp") > 0"
codice:
if strRequireReg = "1" then
	if not Instr(strScriptName,"file1.asp") > 0 and _
	not Instr(strScriptName,"file2.asp") > 0 and _
	not Instr(strScriptName,"file3.asp") > 0 and _
	not Instr(strScriptName,"file4.asp") > 0 and _
	not Instr(strScriptName,"file5.asp") > 0 then
		scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
		if Request.QueryString <> "" then
			Response.Redirect("login.asp?target=" & lcase(scriptname(ubound(scriptname))) & "?" & Request.QueryString)
		else
			Response.Redirect("login.asp?target=" & lcase(scriptname(ubound(scriptname))))
		end if
	end if
end if