Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > cleanup objects/resources

Reply
Thread Tools

cleanup objects/resources

 
 
ton
Guest
Posts: n/a
 
      11-14-2008
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

 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      11-14-2008
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
>
>

 
Reply With Quote
 
 
 
 
ton
Guest
Posts: n/a
 
      11-14-2008
thanx it worked

ton

"bruce barker" <> schreef in bericht
news:89D6607D-6D58-4D07-BECF-...
> 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
>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated Cleanup and Restoring Back to Basline Config NutZ Cisco 0 01-07-2006 02:32 AM
Registry Cleanup - Hardware Drivers =?Utf-8?B?TGFycnktTGFzZXI=?= Wireless Networking 1 12-16-2005 08:57 PM
Symantec Express Cleanup or alternative Ron P Firefox 2 04-24-2005 10:39 AM
Downloads "cleanup" in Firefox Jim Firefox 2 02-15-2005 04:02 PM
Cleanup Newsgroups miskairal Firefox 5 05-04-2004 02:49 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57