Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2010
    Location
    Chennai
    Posts
    1

    CrossDomain Scripting issue - IE6

    Hi,

    Though it is discussed many times in the forum, I have a simple situation and still its not working. The push server URL(UNIX dev server) is something like
    'push-s1.mycompany.com' and the web url( the web code is deployed in my local system) <<compname-number.mycompany.com"

    I have the code like this:

    lsPage.onEngineCreation = function(lsEngine)
    {
    lsEngine.context.setDebugAlertsOnClientError(true) ;
    lsEngine.context.setRemoteAlertsOnClientError(true );
    lsPage.context.setDomain('mycompany.com');
    lsEngine.connection.setLSHost('push-s1.mycompany.com');
    lsEngine.connection.setLSPort('8085');
    lsEngine.connection.setAdapterName("SomeName");
    // set the requested bandwidth
    lsEngine.policy.setMaxBandwidth(actualBW);
    }


    But still I am getting 'Permission Denied' issue. The lightstreamer URL is:
    http://'push-s1.mycompany.com:8085/lightstreamer/create_session.html?LS_phase=3622&LS_polling=true& LS_polling_millis=0&LS_idle_millis=30000&LS_client _version=4.3&LS_adapter=SomeName&

    The server logs also show serving issue. Hence I think its cross domain scripting browser error only. I may need to move to HTTPS in sometime but I am facing issue with HTTP itself. Can somebody help me to overcome this issue?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    You should issue lsPage.context.setDomain before calling createEngine (which, in turn, precedes the invocation to onEngineCreation).
    When setDomain is invoked at the proper time, you should see your domain reported in the create_session URL.

 

 

Similar Threads

  1. Replies: 0
    Last Post: February 17th, 2010, 06:10 PM
  2. Replies: 5
    Last Post: February 4th, 2010, 10:55 AM
  3. Opera --> Cross-frame scripting / frameset
    By Mone in forum Client SDKs
    Replies: 1
    Last Post: March 28th, 2007, 10:35 AM
  4. Replies: 0
    Last Post: November 9th, 2006, 05: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:07 PM.