Obscure the folder serving the files for the duration of a session
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/12963435/hide-a-folder-path-when-user-downloads-a-file">hide a folder path when user downloads a file</a>  </p>
</blockquote>



<p>Is there a way I can serve a unique directory path to the same files every time a user accesses a script -- then have those files accessible at that location for at least the duration of the user's browser session (for example, if another user accesses the script while it is being viewed)? </p>

<p>I would have issued a rename() every access, but then I realised if the script is accessed again in between a download, it would render the file path invalid. </p>

<p>Thanks. </p>
