-
2 Attachment(s)
StockListDemo on Safari
Hi Mone,
I already tried to add document.domain='testing.com'; in the previous try. Below is the code in client:
document.domain='testing.com';
var hostToUse = "http://testing.com:81";
define("lsClient",["LightstreamerClient","StatusWidget"],function(LightstreamerClient,StatusWidget) {
var lsClient = new LightstreamerClient(hostToUse,"DEMO");
lsClient.connectionSharing.enableSharing("DemoComm onConnection", "ATTACH", "CREATE");
lsClient.addListener(new StatusWidget("left", "0px", true));
lsClient.connect();
return lsClient;
});
Please find the latest log and screen capture attached.
Thanks.
-
Sorry, my bad,
I forgot to specify: you should set the domain to "testing.com" as you did, but you should use a longer host name like "http://push.testing.com:81";
HTH
-
We tried to use LS.testing.com:81 for the LS connect host (which is map to the same IP), and result still the same.
-
was the host used to access the page something like http://www.testing.com ?
If you check the server log is there a LS_domain parameter in the create_session / STREAMING_IN_PROGRESS / bind_request request(s) issued by the client library?
Any possibility you can have both the web server and lightstreamer server on port 80?
Any chance for you to let me access your application via internet?