Jump to content

How to send Messages to different sessions


MOGSY

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

 

Link to comment
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.

Link to comment
Share on other sites

×
×
  • Create New...