Page 1 of 1

Docuvieware Session Management

Posted: Thu Mar 18, 2021 10:11 pm
by cutch

I am doing an eval integration with our product, and was wondering how to handle sessions with Docuvieware. In my integration, users review a document and, update some metadata and move on the next document. In the case where they have executed an action, I can abandon the session they had to clean up the document on disk. However, if IIS is gracefully shutdown (either from IIS Manager, or a system reboot / shutdown) the documents seem to stay there forever. Is there a way to tell Docuvieware to clean up on graceful shutdown of IIS?

I have already tried the method DocuViewareManager.CollectSessionsData(); on shutdown of IIS, but that doesn't seem to do it.