Hi,

I've run the html demo successfully but cant seem to connect from GI. When the engine sets the mode to STREAMING the scrip fails to find he adapter engine which is running on port 80. Here is the code Im using to initialise the engine on GI any help would be appreciated.

var lsPage = new PushPage();
lsPage.context.setDomain(null);
lsPage.onEngineCreation = startEngine;
lsPage.bind();
lsPage.createEngine("SLEngine2","C:/ls/");
function startEngine(eng) {
eng.policy.setMaxBandwidth(30);
eng.policy.setIdleTimeout(1000);
eng.policy.setPollingInterval(1000);
eng.connection.setLSHost(null);
eng.connection.setLSPort();
eng.connection.setAdapterName("STOCKLISTDEMO");
eng.changeStatus("STREAMING");
}

Rgds
Ewan
6 days later
Hi Ewan,

before performing a deeper check,
I notice that a file path is used in "createEngine".
This is not supported, as only an http URL is supported.
Note that GI supports and perhaps sometimes requires that you use local filesystem URLs, but Lightstreamer doesn't.
This is because, in a Lightstreamer-enabled front-end, the front-end pages need to communicate with pages coming from Lightstreamer Server and the latter cannot be from local filesystem URLs. Hence, due to the security restrictions imposed by the browsers, the former pages cannot be from local filesystem URLs too.

Dario