, WebForm - , .
, @thmsn, ASP.NET WebForms .
, , Page_Init. , , ASP.NET, InProc - 60 . , GC , ( , ).
A quick fix was to free the event handler in Page_Unload - this example shows that the page's lifetime can easily be pulled out of its useful life. I will not use the session here, although it is far from ideal - and I saw similar errors introduced with backlinks from objects with correspondingly longer page life.
source
share