DocuViewareControllerActionsHandler save - Architecture Question

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
wedmondson
Posts: 10
Joined: Tue Aug 04, 2020 12:04 am

DocuViewareControllerActionsHandler save - Architecture Question

Post by wedmondson » Mon Sep 21, 2020 4:13 pm

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);

User avatar
Fabio
Posts: 39
Joined: Thu Aug 27, 2020 9:57 am

Re: DocuViewareControllerActionsHandler save - Architecture Question

Post by Fabio » Wed Oct 14, 2020 4:15 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest