make sure that the session is listed in the bindings panel under the session collection.
then in the upload behavior, for the File setting, the Default will be set to "[FileName]". click the lightning bolt icon and select the session variable from the binding panel, then past "[FileName]" after the binding code so the File setting looks like:
<?php echo $_SESSION['sessionName']; ?>[FileName]