When the server finishes processing the script on an ASP page, it calls the OnEndPage method for all components (except those of application scope) on that page that have implemented the OnEndPage method. The server calls this method after processing the script on that page.

You can use the OnEndPage method to free copies of interfaces stored by the OnStartPage method and any other resources that do not need to persist beyond script processing.

© Microsoft Corporation. All rights reserved.