You may find yourself wanting to edit your checkout success page, putting an order through every time you want to test your changes can get a bit repetitive. To save doing this every time the best thing to do is stop Magento clearing the session.
To do so go to:
Replace it with
This will comment out the code and allow you to refresh the success page as many times as required. To put make the changes once you are finished just remove the //