Last post May 24, 2015 08:06 PM by Kevin Shen - MSFT
May 22, 2015 05:09 AM|Kevin Shen - MSFT|LINK
I am trying to implement a chat, from one client to another client.
Every thing goes very well except if the user is offline,the user can not receive the message.
I want to he can still receive the message when he logs in the system again.
Please give me some hints about how to fix the issue.
May 24, 2015 02:37 AM|Krunal Parekh|LINK
SignalR does not provide offline messaging by itself. You will have to store the offline messages in a database or somewhere and provide the logic to notify the users for the pending messages. For example. You can check if user is connected or not and if
not then insert the message into database. Now when the client connects check the pending messages and send them.
Please see this. http://stackoverflow.com/questions/21836317/
Hope this helps.
May 24, 2015 08:06 PM|Kevin Shen - MSFT|LINK
Thanks for your suggestion,i will try it in my side.