Thank you for the quick reply.
I've added the code you suggested, but it's still not passing the QUERY_STRING.
The second instance of "failRedirect" doesn't contain "users_LogIn.php?failed=1". Is that correct?
I've attached the users_Login page if it will help solve the problem.
Thanks for your help.