ciao ragazzi,
sto facendo una chiusura del recordset e la successiva pulizia di un update, ma mi restituisce errore dicendo che non è possibile eseguire l'operazione se l'oggetto è chiuso.
il codice è semplicissimo, l'errore lo dà alla riga in neretto.
Sapete aiutarmi?
Grazie mille
codice:<% if session("utente") <> "" then sqlINVIS = "SELECT *FROM tab_utenti WHERE ID_utenti = " & session("utente") set rsINVIS = conn.execute(sqlINVIS) online_utente = rsINVIS("online_utente") rsINVIS.close set rsINVIS = nothing if online_utente = true then sqlACCESSO = "UPDATE tab_utenti SET [accesso_utente] = '" & now() & "' WHERE ID_utenti = " & session("utente") set rsACCESSO = conn.execute(sqlACCESSO) rsACCESSO.close set rsACCESSO = nothing end if end if %>

Rispondi quotando
