-
May 20th, 2014, 09:26 AM
#1
To call success asynchronously is legal but it must execute "fast" or else the client will discard the connection as not working and will create a new session: can you confirm that this is what happens?
How long does it take for the asynchronous response from the database to come back? You might increase the connect timeout to wait a bit longer for the DB response but this has a negative impact on the automatic fallback mechanisms for cases where there are real network issues so you should first try to make the DB faster. See http://www.lightstreamer.com/distros...ConnectTimeout
-
May 20th, 2014, 09:35 AM
#2
Thanks for the info - that is useful to know. however when I set setCookieHandlingRequired to true the client still won't connect even if I remove the DB call completely (i.e. change the body of notifyUser simply to response.success(100000000,false); )
Maybe there is a separate issue?
Similar Threads
-
By milad.j in forum Adapter SDKs
Replies: 1
Last Post: November 4th, 2013, 09:23 AM
-
By cwt237 in forum Client SDKs
Replies: 6
Last Post: September 19th, 2013, 01:05 PM
-
By gal_nitzan in forum Adapter SDKs
Replies: 1
Last Post: February 12th, 2013, 09:16 PM
-
By eoinoc in forum Client SDKs
Replies: 1
Last Post: October 15th, 2012, 09:21 AM
-
By brianjohnson in forum Adapter SDKs
Replies: 2
Last Post: April 5th, 2010, 12:02 PM
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 10:38 AM.
Bookmarks