Does anyone know if it is possible to connect to same instance of Web Visu from two different remote computers and have the ability to view different web pages in each of the remote computers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Essentially you have to do the "session management" yourself. Any variables used to manage screens/sessions need to be arrays indexed by the client id.
For example I've declared the following variable on one of my main screens. The screen contains a Frame set and I use Frame[VisuElemBase.CurrentClientId] to select the desired frame. Each client has its own id an so each can be independently viewing frame.
VAR Frame : ARRAY [0..gHMI.MAXCLIENTS] OF USINT;END_VAR
The same has to be done for any variables used to manage screens for a specific client.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Does anyone know if it is possible to connect to same instance of Web Visu from two different remote computers and have the ability to view different web pages in each of the remote computers.
sure..there is an example here on forge I guess
Essentially you have to do the "session management" yourself. Any variables used to manage screens/sessions need to be arrays indexed by the client id.
For example I've declared the following variable on one of my main screens. The screen contains a Frame set and I use Frame[VisuElemBase.CurrentClientId] to select the desired frame. Each client has its own id an so each can be independently viewing frame.
The same has to be done for any variables used to manage screens for a specific client.