In ASP.NET, if items are left in session state, IDisposable apply but never specifically deleted Goes and is not dealt with by the application. The expiry period of the session will expire. Will any code object be called in the Dipes? If there is a IDisposable
pattern, yes (i.e. will take care of disposal of the item's destructive item) I do not believe that the ASP.NET session manager should explicitly dispose ()
Provides a guarantee about the IDisposable
calling on the implementing classes.
Note that despite the aggressive objections of Mark, I am not finally asking to add "regular". I am just suggesting that if you want the Disposal
method on your object, that session is over, this is a viable option.
Comments
Post a Comment