andyhill Posted December 11, 2017 Share Posted December 11, 2017 In code I build a large PDF file full of images that takes about 70 seconds. During the build process uniGUI shows "connection error, communication failure" and retry's many times (about 7 off memory) till finally the file is built and displayed with connection reestablished. How do we keep the connection live during this build ? UniServerModule.SessionTimeout:= 600000; // 600secs (10mins) // Not Reached. procedure TUniMainModule.UniGUIMainModuleSessionTimeout(ASession: TObject; var ExtendTimeOut: Integer); // Not Called begin // 600 (10mins) UniApplication.Destroy; end; Is there a UniSession.Connection.TimeOut setting -or- a UniSession.KeepAlive function ? Link to comment Share on other sites More sharing options...
Sherzod Posted December 12, 2017 Share Posted December 12, 2017 Hi, Increase value of the UniServerModule -> AjaxTimeout parameter. 1 Link to comment Share on other sites More sharing options...
andyhill Posted December 12, 2017 Author Share Posted December 12, 2017 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts