OnEndPage

When the server finishes processing script on an ASP page, it calls the OnEndPage method for all objects, except those of application scope, on the page that implemented this method.

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