with multiple load balanced servers, document viewer control throws "Session has expired" error
Problem reported by Vinay B R - 5/20/2017 at 1:02 AM
Resolved
Hi,
 
I am trying to use the document viewer control in my website. The control works fine on a single server but fails when i tried with 2 load balanced webservers "session has expired, the page will be refreshed in 10 seconds" message and keeps refreshing a few times till it eventually fails with "Invalid XPZ file: Zip end header data is wrong size!" error message. 
 
Server details -
Windows Server 2012 with iis8.1
Asp.Net 4.6.2 in SessionStateMode SQLServer
 
Can you please let me know what needs to be done to get the control working. 
Cem Alacayir Replied
Employee Post
FYI this is fixed in v3.1.0:
 
Added: Load balancer support. DocumentViewer can now work properly in multi-server environments or cloud (e.g. Azure) where in-memory session is not available. Session serialization is fixed to support all session modules. You still need to have a shared cache folder between multiple instances/servers.
Cui Yansong Replied
Hi, I still have the problem in multi-service environment, it shown the counting down popup. So, my question is how can I share the session in multi-service environment? if there is any configuration in DocumentUltimate?
Cem Alacayir Replied
Employee Post
Please see this KB article for the solution:
https://support.gleamtech.com/kb/a16/using-documentultimate-on-azure.aspx

Reply to Thread

Enter the verification text