One thing I\'ve started doing more often recently is retrieving some data at the beginning of a task and storing it in a $_SESSION[\'myDataForTheTask\']