It is not working.
This is my code:
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
Dim dirName As String = Server.MapPath("STNXML\" + Session.SessionID)
If Directory.Exists(dirName) Then
Directory.Delete(dirName, True)
End If
End Sub
I think the session_end will not fire when I close my browser...
Thanks for the response......
|