Results 1 to 6 of 6

Hybrid View

  1. #1
    Member
    Join Date
    Oct 2009
    Location
    london
    Posts
    3
    can you be more explicit about what the solution is please?
    I'm running both servers on one host. I've specified the hostname/ip in the hosts file. IE allows the connection to Lightstreamer, but Firefox won't. You appear to offer a solution but it isn't clear what it is. What is the 'domain setting' for example?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Sorry, I could have made a more explicit mentioning of the javascript document.domain property.
    Hence, the "domain setting" is a javascript feature and setting the domain to a value, like "lightstreamer.com", means issuing
    Code:
    document.domain = "lightstreamer.com";
    According to the previous post, in order to have Lightstreamer working on Firefox in your scenario,
    both your Push-page and Lightstreamer-generated data page should, in principle, issue:
    Code:
    document.domain = myHostname;
    where myHostname is the name with which you access both the Web Server and Lightstreamer Server.

    But note that you have no control on Lightstreamer-generated data page.
    You can achieve all the above by using the setDomain method from Lightstreamer API, i.e. issuing:
    Code:
    pushPage.context.setDomain(myHostname);
    which both sets the domain on the local Push-page and makes the LS Server do the same on its generated data page.

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    I have wholly revised the first post, because some key points were wrong or missing.

 

 

Similar Threads

  1. Replies: 0
    Last Post: February 17th, 2010, 05:10 PM
  2. cross domain between http and https
    By riwang in forum Client SDKs
    Replies: 1
    Last Post: January 7th, 2009, 10:56 AM
  3. Cross domain capability
    By achimabeling in forum General
    Replies: 1
    Last Post: August 20th, 2007, 03:08 PM
  4. Opera --> Cross-frame scripting / frameset
    By Mone in forum Client SDKs
    Replies: 1
    Last Post: March 28th, 2007, 09:35 AM
  5. Replies: 0
    Last Post: November 9th, 2006, 04:12 PM

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:18 PM.