Ogden wrote: > A feature on our website is to allow users to upload data - not big files > - perhaps 5Mb at most. > > The file is uploaded fine, however, when our Mason code opens the file and > inserts each record into the database, within about 30 seconds, the > operation times out for the end user. > > I have placed: > > $m->print(" " x 50000); > > after each insert ( $dbh->execute() ), but this does not seem to help. > > Any ideas on keeping the browser alive? > > Thanks > > Ogden
Aren't you just printing to a buffer there? Have you tried putting: $m->flush after that print statement? -Oli
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users