add the following code at line 1, i have a feeling an error is occuring that is causing the redirect to fail:
i'm betting that this is going to show the Headers already sent error being caused by the use of the virtual function for includes:
<?php virtual('/Connections/PowerCMSConnection.php'); ?>
<?php virtual("/WA_CMS/WA_CMS.php"); ?>
see this page for details:
especially the section where i talk about using the virtual function. and how to stop dreamweaver form doing that.