See RedirectAfterPost.