Jump to content
uniGUI Discussion Forums

"connection error, communication failure" TimeOut

Recommended Posts

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
  // 600 (10mins)
Is there a UniSession.Connection.TimeOut setting -or- a UniSession.KeepAlive function ?

Share this post

Link to post
Share on other sites