L'evento di termine sessione lo intercetti nel global.asax con la funzione:
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
... codice da eseguire
End Sub
Peace
Gvnn
http://www.gvnn.it
http://www.sqlwebarchitect.org
http://blogs.dotnethell.it/gvnn/