Ciao a tutti, perche in asp non riesco a passare i dati da flash ad asp e poi in un db?
cosa c'è di errato ?
<%@ Language=VBScript %>
<%
Flash=Request.Form("ogg1")
Flash2=Request.Form("ogg1_x")
Flash3=Request.Form("ogg1_y")
if blnValid = True then
strDSNPath = "PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("database/Progettisti.mdb")
strSQL_Insert = "INSERT INTO Dati(Tipo_ogg, Ogg_x, Ogg_y)" & _
" VALUES ('" & Flash & "', '" & Flash2 "','" & Flash3 & "');"
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Open strDSNPath
Conn.Execute strSQL_Insert
Conn.Close
Set Conn = Nothing
end if
%>
nel db c'è la tabella dati e i tre campi sono Tipo_Oggetto, Ogg_x ed Ogg_y
invece in flash ho questo comando
invio.sendAndLoad("pagina.asp",ric,"POST");
perche allora non immette dati nel db?
è come se non li leggesse

Rispondi quotando