cleanup objects/resources

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
 
B

bruce barker

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)
 
T

ton

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top