codice:
<%
username = request.form("username")
password = request.form("password")
if username="marco" and password="111" then
Session("rb_accesso_1") = True
response.redirect "http://www.xx1.it"
elseif username="pino" and password="112" then
Session("rb_accesso_2") = True
response.redirect "http://www.xx2.it"
elseif username="federico" and password="113" then
Session("rb_accesso_3") = True
response.redirect "http://www.xx3.it"
else
response.redirect "http://www.xxx.it/area_riservata.htm?error=1"
end if
%>
In ogni pagina che crei devi controllare l'esistenza della corrispondete variabile di sessione.
Roby