cleanup objects/resources

  • Thread starter Thread starter ton
  • Start date Start date
T

ton

Hi,

In my app I use several webserver usercontrols. I want to cleanup the
objects they use in the different procedures after a postback.

My question is
in case of AJAX of without using AJAX what is the best form/page procedures
I could use to use a cleanup operation.

thanx


ton
 
its unclear what you are trying to do. all resources (except session) should
be cleanuped on every page request, not just postback. ideally you'd release
as soon as done. if not, you can use page unload event (which is the last
step of the page request lifecycle) to release them.

-- bruce (sqlwork.com)
 
thanx it worked

ton

bruce barker said:
its unclear what you are trying to do. all resources (except session)
should
be cleanuped on every page request, not just postback. ideally you'd
release
as soon as done. if not, you can use page unload event (which is the last
step of the page request lifecycle) to release them.

-- bruce (sqlwork.com)
 
Back
Top