I&#039m trying to use the on_end subroutine to clean up a temporary database table, using a session variable to identify the records in the database table that have to be deleted. However it isnae working and i cant figure out why. I seem to be incompatible with SQL so I&#039ve tried writing it out in a vbscript obj.delete.<BR>Now i know that its naughty to use ADO in a global.asa file but its not a session object so it shouldn&#039t matter particularly, plus it only fires when the user&#039s session times out.<BR><BR>Can anyone help?