November 26th, 2012, 07:14 AM
#11
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.
Attached Thumbnails
Attached Files
November 26th, 2012, 04:44 PM
#12
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
November 27th, 2012, 08:03 AM
#13
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.
November 27th, 2012, 09:14 AM
#14
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?
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
All times are GMT +1. The time now is 12:45 AM .
Bookmarks