-
May 18th, 2010, 01:22 PM
#1
Two Instance in One Page Browser using IFrame
I have a case, opening page like demo at : http://www.lightstreamer.com/demo/StockListDemo/, with data source like Hello World Socket.
But this demo open twice in one page, by using iFrame.
Then, I change item on one of iframe and refresh this iframe. I set SHARE_SESSION = "True" on create engine.
Some time all pages, the two iFrame suddenly refreshing and server threat this as 2 new request again. Is this normal, why this is happen ?
How to make this two instance (CMIIW), run smoothly without refreshing page case.
Thx.
Gani
-
May 19th, 2010, 09:26 AM
#2
You have set up a demo in which multiple iframes coexist and you have had all these iframes share the same session.
In this demo, you usually change an item in one of your iframes by performing a full refresh of the iframe.
As a consequence, you notice that, sometimes, the data flow on all pages is restarted.
Is the above equivalent to your description?
This is possible with SHARE_SESSION, as closing or reloading the page that holds the Engine causes the connection to LS to be lost and the library must replace it with a new Engine and a new session.
This also affects the other pages and the starting of the new flow may be noticeable.
Is that effect causing you problems?
What do you mean by "the two iFrame suddenly refreshing"? Do you refer to a full page refresh, as though location.reload() were issued? Nothing like this should be caused by LS directly.
Similar Threads
-
By hofmanna in forum Client SDKs
Replies: 3
Last Post: January 21st, 2010, 12:25 PM
-
By ivailo in forum Client SDKs
Replies: 1
Last Post: July 24th, 2008, 08:55 AM
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 04:02 PM.
Bookmarks