Facebook Twitter Reddit LinkedIn

A Caveat When Using ASP's Response.Redirect Method

When ASP encounters the Response or End methods, it immediately halts script execution in both the GLOBAL.ASA file and in the application page.

As a result, ASP won't execute any script that follows the Redirect method. Instead, it either ends the session or begins processing the new page.

For this reason, you should always make the Redirect method the last call in any script.

Source: Mike D. Jones
© 2007-2019 All rights reserved.   Part of the somuch.com group of trusted web sites.   PO Box 1542, Ormond Beach FL 32175