Currently, I am facing an issue in a .Net chat application where the session is expiring frequently for short durations on my chat room page. I have tried setting the sessionState timeout="540"
,
httpRuntime executionTimeout="999999"
, and maxRequestLength="200000000" requestValidationmode="2.0"
parameters in the web.config file but unfortunately, it is not resolving the problem. The chat page requires constant updates due to its real-time nature, however, after some time it times out, necessitating a page reload to receive new messages. There is an interval running on this page as well. Any suggestions or ideas would be highly appreciated.