I am developing a payment integration. HTTP POST is the only method that payment gateway returns. We want to redirct to Error Page if the payment gateway returns fail status. We are Generating Print Template with Template.OutPut() method. But everytime template is generate, the system logout and login automatically and error page is not showing. When I test with GET method it works. Is the issue because of POST method ?