473,387 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

cleanup objects/resources

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

Nov 14 '08 #1
2 1050
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)
"ton" wrote:
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

Nov 14 '08 #2
ton
thanx it worked

ton

"bruce barker" <br*********@discussions.microsoft.comschreef in bericht
news:89**********************************@microsof t.com...
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)
"ton" wrote:
>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

Nov 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: gl | last post by:
I currently have an asp.net web app that starts a thread in the global.asax app start method. THe thread then runs for the duration of the app's life, changing data in the background. My...
14
by: Joe | last post by:
I'm trying to track down where objects are referenced because I want to clean up the memory when I'm done with them. I thought I found all references but it doesn't seem that way because calling...
69
by: MQ | last post by:
Hi all I am just wondering how most people implement cleanup in C functions. In particular, if the function opens a number of resources, these need to be released properly should an error occur...
5
by: Yves Dorfsman | last post by:
I did a few tests with this script: class byebye: def __del__(self): print 'Bye, bye...' x = byebye()
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.