Hi,
I have manually put a sub in global.asa which inserts a record into a table when the session ends or the user logs out:
Sub Session_OnEnd
strConnection = "someconnectioninfo"
set conn = Server.CreateObject("ADODB.Connection")
conn.ConnectionString = strConnection
conn.open
set comm = Server.CreateObject("ADODB.command")
comm.CommandText = "Insert into etc. etc."
comm.ActiveConnection = conn
comm.Execute
conn.close
set conn = nothing
set comm = nothing
End Sub
This code works absolutely fine.
The issue is that unless I am missing something there is no way of inserting this code into the ASPRunner program and every time I build the project I have to put the code back in or copy the old file back onto the newly generated file.
Is there something I have missed or is this a feature request...
Kind regards