submersible_toaster has asked for the wisdom of the Perl Monks concerning the following question:
Forgive me if there are existing nodes regarding this, I felt as though there would be , however a Super Search was unrevealing.
I am interested in the use of Apache::Request , specifically it's UPLOAD_HOOK callback. Having read some discussions about upload progress indicators here at the Monastery and abroad , it seems the consensus is to store some unique identifier server-side regarding the upload session, supply the calling browser with enough javascript to launch a window, calling /cgi/upload-status.pl with the initial unique identifier so it can stat the temporary file. So when the the request is created Apache::Request->new all the UPLOAD_HOOK callback can hope to achieve is to initialise the relationship (in a DB for example) between the present file upload location, and the unique upload identifier.
That makes even less sense to me having written it down..I will try point form
Have I totally mis-construed good advice, or is it really that complicated? I appreciate HTTP is stateless. Have any monks made this approach work?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache::Request UPLOAD_HOOK
by Joost (Canon) on May 05, 2003 at 14:44 UTC | |
|
Re: Apache::Request UPLOAD_HOOK
by cees (Curate) on May 05, 2003 at 18:52 UTC |