How to detect when a word document is closed
I have a asp.net page with a button on it. Clicking the button opens up a word document in MS Word from a document library. Users can edit the document, save, and close it. I need to detect that the word document is closed before the users can navigate from the asp.net page. I understand that I can use event recievers to look at the modified date of the document, but I also need this to work if users open the document and closes it without saving. Is there any event that I can use to detect when a word document is closed. I'm looking into short term locks that SharePoint utilizes when opening a document, but the locks aren't release when the document is closed, so I cannot use that as a reliable event to detect if the word document is closed. Any ideas?