I'm no web programmer, nor do I play one on TV. Having said that, I'm guessing that your last paragraph contains the clue: Since HTTP is a stateless protocol, you can't rely on a global variable as you don't know *which* sessions upload is occurring. Keep in mind that multiple uploads may occur at one time. I suggest you use more of the original examples code and use the session to store your state.
...roboticus
In reply to Re^6: file upload and IO::Handle
by roboticus
in thread file upload and IO::Handle
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |