C
cab
i have the following code in the "Sub Session_OnEnd" routine that does not
seem to run.....
Sub Session_OnEnd
strConnect = "Driver={SQL Server};Server=SERVER;Database=database; User
ID=xxxxxx;Pwd=xxxxxxx"
Set objConnEnd = Server.CreateObject("ADODB.Connection")
objConnEnd.Open strConnect
strDelete = "DELETE formdata WHERE formMyCpsID = " & Session.SessionID
objConnEnd.Execute
strDelete objConnEnd.Close
Set objConnEnd = Nothing
End Sub
....can I access the Session.SessionID at this stage or has it already been
killed?
cheers,
cab.
seem to run.....
Sub Session_OnEnd
strConnect = "Driver={SQL Server};Server=SERVER;Database=database; User
ID=xxxxxx;Pwd=xxxxxxx"
Set objConnEnd = Server.CreateObject("ADODB.Connection")
objConnEnd.Open strConnect
strDelete = "DELETE formdata WHERE formMyCpsID = " & Session.SessionID
objConnEnd.Execute
strDelete objConnEnd.Close
Set objConnEnd = Nothing
End Sub
....can I access the Session.SessionID at this stage or has it already been
killed?
cheers,
cab.