I have an asp.net application that utilizes long polling. So, a typical call to the aspx page can take 30 seconds or more.
I’ve noticed, sometimes in wait-state the session recycles (for known reasons) and the Session[] object is wiped. At this point, I would like to be able to cut the wait short and signal the aspx page to complete and let the browser attempt to reconnect and set up a new valid session.
is there a “Session Got Recycled” event I can listen to?
thanks!
Session_Endin theglobal.asax: