Page 1 of 1

DocuViewareControllerActionsHandler save - Architecture Question

Posted: Mon Sep 21, 2020 4:13 pm
by wedmondson
This is an architecture question.

When we call the DocuViewareControllerActionsHandler save method it returns a byte array representing the entire document. Where does it get this data? Is this information stored in the session store on disk? Does it reload the original from the source location? (In my case I loaded the original file in the view using "window.DocuViewareAPI.LoadFromUriEx".)

The application I am working on will be hosted across a number of different servers and will host a fairly active user base. I need to understand how files, especially very large files, or stored and manipulated.

Code: Select all

DocuViewareControllerActionsHandler.save(
                sessionId,
                ref fileName,
                "pdf",
                "*",
                out var statusCode,
                out var reasonPhrase,
                out var content, //how does this value get populated?
                out var contentType);

Re: DocuViewareControllerActionsHandler save - Architecture Question

Posted: Wed Oct 14, 2020 4:15 pm
by Fabio
Hello there,

This information is stored in the session. If you're using your application on different servers, you should define well the way the session is managed.
Here the link about how to define properly your session:
https://www.docuvieware.com/guides/aspn ... ring).html

Best regards,
Fabio