Questo è lo script:
<%
dim user
dim pwd
user=replace(request.form("form_user"),"'","''")
pwd=replace(request.form("form_pwd"),"'","''")
if user <>"LEO" then
response.redirect("accesso negato.htm")
end if
if pwd <> "LEO" then
response.redirect("accesso negato.htm")
end if
session("verificato") = "si"
response.redirect "gestmail.asp"
%>
Questa è una modifica che ho provato ad apportare:
<%
dim user
dim pwd
user=replace(request.form("form_user"),"'","''")
pwd=replace(request.form("form_pwd"),"'","''")
if user <>"LEO" then
response.redirect("accesso negato.htm")
end if
if pwd <> "LEO" then
response.redirect("accesso negato.htm")
end if
session("verificato") = "si"
response.redirect "gestmail.asp"
%>
Questo è l'errore costante alle due ipotesi:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/newsletter/admin/gestmail.asp, line 15
The Include file '../adovbs.inc' cannot contain '..' to indicate the parent directory.
Gentilmente qualcuno mi può dire cosa correggere, forse sbaglio a pubblicarlo, non lo so.
Grazie.

Rispondi quotando