Hi. A friend figured a workaround for my code so I won't be needing the session variable. I couldn't solve the problem, but thanks for replying :)
If you're still curious about this, let me know and I'll send you the code.
The last thing that I found out was that when the files that were loaded in the session variable came from the database, they would remain after the upload error; but when the files came from the Uploader, they woud be cleared.
I guess there's something going on with the streams...