File Upload - TEMP name


I want to add a status bar, or at least something to show progress, to an upload site I made. The uploads are form based and work fine. I have another page open when the submit button is clicked. The problem is that the new window doesn’t have any clue what the file is. If there are two people uploading, there’s two temp files in my php uploadtemp. I’ve tried a lot of different ways, but all I can do basically is read every temp file and show their status - but I can’t figure out which one belongs to which uploader. Is there a way to either a> force a name to the temp file being uploaded or b> find out ownership vie session cookies or similar?


This is beyond what I’ve done, but if anyone knows, I’d also be interested in finding out. It is likely that I’ll want something like this later.