RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: VB5,VB6
Expertise: Intermediate
Jun 3, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Avoid OnEndPage in ASP components under IIS 5

As explained elsewhere in this knowledge base, you are suggested not to rely on the OnStartPage method to get a reference to the main ASP objects, if your component is to be run under IIS 5. However, if you do run such a component under IIS 5, at least you should ensure that it doesn't expose the OnEndPage method.

In fact, if a component doesn't expose this method, IIS 5 is able to release it as soon as the client ASP script code set all the references to it to Nothing. This helps to release memory and resources earlier, and indirectly improves the scalability of your application.

By comparison, all ASP components that run under IIS 4 and previous versions are always released after the ASP page has been completely processed.

Francesco Balena
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date