I'm creating some temp files that I would like to delete when the window closes. Is there any function (or something) that can do that? I'm working with sessions, if that's any help.
Thanks
There's no way to know when the window closes. Instead, you'll have to wait until the session times out, and then delete it.