dynamically subscribe items
As far as I've understood, the list of items to be subscribed should be sent by the client(in may case a web client)
Is it possible to do the following scenario using lightstreamer?
Depending on the username password sent by web client, lightstreamer connects to the database and gets the list of items relevant to that user. then it sends them back to the client or subscribe those items automatically... and pushes data accordingly. (i.e. web client will send us only the username and we have to subscribe the relevant items for that user)
regards
rd
get the list of subscribed items
any way, in this method is there any way to get the list of all the subscribed items initially.
or at least the number of items that is subscribed to that user?:confused:
To create the table correctly, i need the number of subscribed items in the web client. is it possible to catch it in the onStart() method in js or in some other method. Also can you please elaborate the use of setSnapshotRequried(true) onEngineCreation. I think i may use it. can you please elaborate?