Intersoft WebTextEditor Documentation
WebFarm and multiple worker requests support with built-in FileStateServer
See Also Send Feedback
Intersoft WebTextEditor > WebFileUploader > Features > WebFarm and multiple worker requests support with built-in FileStateServer

Glossary Item Box

Due to AJAX uploading mechanism, most file upload components will fail to work when the application is used in webfarm environment, or in server running multiple worker requests.
 
When running your application in such configuration, the load balancer automatically redirects the AJAX request to one of the available servers which may not be the originating server that receives the upload data. This mechanism affects the file upload component since the AJAX request may receive invalid response and thus unable to obtain the required upload information which finally failing the progress bar. 

Intersoft WebFileUploader addressed this limitation elegantly with its high-performance, reliable FileStateServer technology. When using FileStateServer, WebFileUploader streamlines all required uploading information in its state server, making it possible for AJAX request to receive real-time synchronized information regardless of the server that process the request.

To enable FileStateServer in WebFileUploader to support webfarm configuration, simply add the following entries to your web.config:

<add key = "ISNet.WebUI.WebFileUploader.ContextStorage"

value = "FileServer" />

 

<add key = "ISNet.WebUI.WebFileUploader.ContextStorageFileServer"

value = "path=\\Server\ContextUploadStorage" />

 

Make sure all your load balanced servers have the permissions and sufficient security settings to access the server and the shared resource. You may need to provide network credentials in your web.config to allow your application to access the specified server resource.

See Also

©2013. All Rights Reserved.