how do you know the Session_End event is firing? If your delete code is
correct, and works, and the session_end event is firing, and your delete
code is called in session_end, then there isn't a reason for it not to work
unless, you don't have permission to delete the file? Did you step into it
and verify that the delete code is running?
"Sampriti" <su*****@mailcity.com> wrote in message
news:0f****************************@phx.gbl...
I am trying to delete a file from a disk when the user's
session ends. So I am putting my file.delete code in
Session_End event. I ran the application in the debug
mode. When the session timesout session event is firing
but it is not executing any of my delete code. Can
somebody tell me what I am doing wrong?
Thanks in advance