Client caching

Nexaweb 4.5 includes a new method for the ClientSession API that allows the client application to cache information.

The new ClientSession method, processXML, allows you to cache a document object or an HTTP response object. It functions as the process half of a retrieve and process call. It runs a document or HTTP response object as though it came from the server. It allows you to create a document from scratch, or to run repeatedly an HTTP response retrieved from the server.

The following table describes processXML argument types: 

Argument TypeDescription

Document

Processes a document as if the client received it by a call to a retrieveAndProcess().


HttpResponse

Processes an HttpResponse as if the client received it by a call to a retrieveAndProcess().

If UI DOM is enabled, synchronizes changes made to the UI Document during the processXml() method with the server-side UI document. Also, synchronizes shared dataset changes to the server.