You can't do more than one request and handle session on a single HTTP Template, but there are other ways to accomplish this.
If you are using an OnPrem controller, you can set up a Custom Action as a script on the controller that will make those 2...