Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Member
    Join Date
    Nov 2011
    Location
    Ho Chi Minh
    Posts
    3

    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 Thumbnails Click image for larger version. 

Name:	StockListDemo_Safari.jpg 
Views:	138 
Size:	97.8 KB 
ID:	117  
    Attached Files Attached Files

  2. #12
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    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

  3. #13
    Member
    Join Date
    Nov 2011
    Location
    Ho Chi Minh
    Posts
    3
    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.

  4. #14
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    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?

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 04:10 AM.