Jump to content
uniGUI Discussion Forums
Sign in to follow this  
MOGSY

How to send Messages to different sessions

Recommended Posts

Hi

 

To stop sessions keep polling to get fresh data, how can one push messages to different session, is WebSocket is the only way to push messages to sessions?

 

If a query is kept in ServerModule will that query result be shared by all sessions?

 

Regards

 

Share this post


Link to post
Share on other sites

To stop sessions keep polling to get fresh data, how can one push messages to different session, is WebSocket is the only way to push messages to sessions?

 

WebSocket is the best/modern way. But you can also use LongPolling.

 

If a query is kept in ServerModule will that query result be shared by all sessions?

No.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×