I want to perform multiple actions when users does an action. But if the user hit refresh button the actions are not performed. eg - payment gateway, after doing a payment I want to update 3 things but if user presses refresh then those actions are not performed.