La funzione session non funziona perche quando scrivo session("variabile") non scrive il testo della variabile???
<%
richiesta = Request.Form("richiesta")
prestazione = Request.Form("prestazione")
if richiesta = "prenotazione" And prestazione = "visita" then
Response.Redirect "visita.asp"
session("titolo") = "Prenotazione"
end if
if richiesta = "prenotazione" And prestazione = "esame" then
Response.Redirect "esame.asp"
session("titolo") = "Prenotazione"
end if
if richiesta = "conferma" And prestazione = "visita" then Response.Redirect "conferma.htm"
session("titolo") = "Conferma"
if richiesta = "conferma" And prestazione = "esame" then Response.Redirect "conferma.htm"
session("titolo") = "Conferma"
if richiesta = "disdetta" And prestazione = "esame" then Response.Redirect "disdetta.htm"
session("titolo") = "Disdetta"
if richiesta = "disdetta" And prestazione = "esame" then Response.Redirect "disdetta.htm"
session("titolo") = "Disdetta"
%>

Rispondi quotando
:master:
