I created Chat application using SignalR and Asp.net MVC. if user is idle for sometime, he didn’t receive any messages from the server.
Is there any timeout for SignalR persistence connection ?
If yes, how do I modify or reactivate my connection ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SignalR’s default timeout is 110 seconds for any connection. It will reconnected automatically and you shouldn’t miss any messages. That sounds like you have some other problem. If you want to tweak the timeout in 0.4 like this (assuming asp.net):
Make sure You add using SignalR.Infrastructure to get the Resolve extension method (we’re fixing this in the next version).