I have implemented the IT Hit WebDAV server on our company website. I've been looking at the logs and I can see it unlocks PowerPoint presentation twice. Once just before it open and then when you close MS PowerPoint.
Can I stop this from happening so when you open a PowerPoint document it unlock only when the document closes like MS Word.
When I open a Word document it only unlocks it once when you close the MS Word.
As you can see from the logs below there are less request in MS Word than in MS PowerPoint. Both documents I followed the same process:
- Open
- Edit
- Save
- Close
The reason why I would like it to unlock only once is so I can implement some custom code for security which should only run when the user has finished using the document.
Microsoft Word
[29] [OPTIONS] /DAV/
[45] [HEAD] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx
[99] [OPTIONS] /DAV/
[79] [LOCK] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx
[99] [GET] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx
[54] [PROPFIND] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx
[74] [LOCK] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx
[94] [PUT] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx
[94] [UNLOCK] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx
PowerPoint
[89] [OPTIONS] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/
[86] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[89] [OPTIONS] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/
[86] [LOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[89] [GET] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[97] [PROPFIND] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[65] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[68] [UNLOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[97] [OPTIONS] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/
[86] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[97] [GET] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[100] [PROPFIND] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[68] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[86] [LOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[89] [GET] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[68] [PROPFIND] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[97] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[59] [LOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[59] [PUT] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx
[86] [UNLOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx