Problem with slow connection

0
0

We have a system that user can open multiple modules (user controls) on different tabpages. Some users complains when going back from second page (module) back to the first one, if the network is slow, the hour glass keeps rotating and the first page cannot be loaded.

We tried to turn off “enableWebSocket” in Default.json but it gives “license missing” error even through the license key is right.

Is there any way to address this issue or make the web page loaded already (i.e. the first page) more static (no need to be reloaded from server)?

Thanks,

  • You must to post comments
0
0

Hi Luca, thanks for your prompt response. But we are not using the tab of Browser to switch the module. We are using the tabControl of WiseJ to load multiple modules.

  • You must to post comments
0
0

Turning off WebSocket makes the HTTP traffic bigger since HTTP is less efficient. Our packets are small since they are differential JSON but with WebSocket you save all the HTTP headers.

You cannot share the same session across browser tabs. Going from tab to tab used to sync the sessions many builds ago but we stopped than when the stopped using cookies for the session  id.

All you get when you enable a tab is a focus event (fires the https://wisej.com/docs/2.0/html/E_Wisej_Web_Application_BrowserTabActivated.htm event). It’s probably 20 bytes, you can check with the Network tab using F12 in Chrome. Nothing is reloaded unless you hit F5 or refresh the browser.

 

 

 

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.