Index: securepages.module =================================================================== --- securepages.module (revision 530) +++ securepages.module (working copy) @@ -473,4 +473,12 @@ } return TRUE; +} + +/** + Implementation of hook_exit(). + */ +function securepages_exit() { + // simply clear the redirect flag + unset($_SESSION['securepages_redirect']); } \ No newline at end of file