Results 1 to 7 of 7

Hybrid View

  1. #1
    Member
    Join Date
    Aug 2009
    Location
    Binh Duong
    Posts
    14
    I don't see anything...
    But it have control request in server

    This is alert from server when i open new tab.

    Code:
    07.Aug.09 15:33:51,036 < INFO> Serving request: /lightstreamer/create_session.js
    ?LS_phase=8902&LS_polling=true&LS_polling_millis=0&LS_idle_millis=30000&LS_clien
    t_version=4.3&LS_adapter=PROXY_HELLOWORLD& from 127.0.0.1:52048
    07.Aug.09 15:33:51,040 < INFO> Starting new session: Sef925d8a4184e660T3351039 f
    rom 127.0.0.1:52048
    07.Aug.09 15:33:51,066 < INFO> Serving request: /lightstreamer/control.html?LS_s
    ession=Sef925d8a4184e660T3351039&LS_window=1&LS_win_phase=4&LS_op=add&LS_req_pha
    se=61&LS_mode1=MERGE&LS_id1=itemMa&LS_schema1=Items&LS_unique=1 from 127.0.0.1:5
    2048
    07.Aug.09 15:33:51,068 < INFO> Controlling session: Sef925d8a4184e660T3351039 fr
    om 127.0.0.1:52048
    07.Aug.09 15:33:51,087 < INFO> Serving request: /lightstreamer/STREAMING_IN_PROG
    RESS?LS_session=Sef925d8a4184e660T3351039&LS_phase=8903& from 127.0.0.1:52053
    07.Aug.09 15:33:51,088 < INFO> Attaching session: Sef925d8a4184e660T3351039 from
     127.0.0.1:52053
    07.Aug.09 15:33:53,076 < INFO> Serving request: /lightstreamer/control.html?LS_s
    ession=Sef925d8a4184e660T3351039&LS_window=1&LS_win_phase=4&LS_op=add&LS_req_pha
    se=61&LS_mode1=MERGE&LS_id1=itemMa&LS_schema1=Items&LS_unique=2 from 127.0.0.1:5
    2048
    07.Aug.09 15:33:53,078 < INFO> Controlling session: Sef925d8a4184e660T3351039 fr
    om 127.0.0.1:52048

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    what about the snapshot setting?
    If you open the application in a completely different browser instead of opening it in another tab, does it receive data?

  3. #3
    Member
    Join Date
    Aug 2009
    Location
    Binh Duong
    Posts
    14
    what about the snapshot setting?
    If you open the application in a completely different browser instead of opening it in another tab, does it receive data?

    snapshot settings???
    even if I open different browser then it doesn't receive data...same as open new tab.

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Probably what happens is that the first client that connects receives the snapshot directly from the adapter. Once the item is subscribed the snapshot is handled by the server that does not send it unless you ask for it. If you don't ask the snapshot to the server it will send only the new updates but not the current status.

    to fix your app, where you call



    you should add



    please read the setSnapshotRequired documentation and the General Concepts.pdf file available under the LS_HOME/DOCS-SDKs folder

  5. #5
    Member
    Join Date
    Aug 2009
    Location
    Binh Duong
    Posts
    14
    Thank Mone for your help...I have been fixed this problem.

 

 

Similar Threads

  1. Replies: 1
    Last Post: October 25th, 2010, 12:23 PM
  2. Reconnecting client after error
    By jkrohn in forum Client SDKs
    Replies: 3
    Last Post: September 1st, 2009, 08:48 AM
  3. Error in Data Adapter
    By wwatts in forum Adapter SDKs
    Replies: 1
    Last Post: July 9th, 2009, 08:38 AM
  4. Multiple Adaptors for one stream session
    By EWANG in forum Adapter SDKs
    Replies: 1
    Last Post: April 29th, 2009, 08:38 AM
  5. Client alert with error 120
    By kalski in forum Client SDKs
    Replies: 3
    Last Post: July 31st, 2008, 09:14 AM

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 12:39 PM.