ZHAO, BING wrote:
> Hi,
> I got a problem:
Since this is the second post in a short time that has nothing to do
with CGI::Application I think you may be under the impression that this
is a general perl/web mailing list. It's not. It's a list for
conversations about the module CGI::Application.
For more general (and basic) Perl/Web/CGI questions, you can look at:
http://lists.cpan.org/showlist.cgi?name=beginners-cgi
http://lists.cpan.org/showlist.cgi?name=perl-win32-web (for windows)
> I am doing this website which TAKES upload(just press
> 'upload' on my website, it uploads itself), then the uploeades files are
> to be modified/processed in a series of perl scripts, eventually a file
> containg all the infomation will be sent back by email to the submiter.
> But if more than one person submits the file at the same
> time, the system would crash. I need some kind of buffer mechanism to
> either store the files or let the submiter wait.
> Any idea?
Are you saying that it should crash? Unless there's some weird shared
constraint that would prohibit more than one person running the same
processing at the same time then it shouldn't crash. Or is it because it
overloads the system too much? Either way, you're going to have to save
the files to disk (that's pretty simple), send a response back to the
user's browser and then process then later with a cron job or custom
daemon or something along those lines.
--
Michael Peters
Developer
Plus Three, LP
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.