You can get the file name that is stored by dragging and dropping the value from the bindings panel after applying the upload behavior. Then you can store the values in the session variables. Here is a tutorial on how to set up session variables:
phpsessions.php