Avoiding Browser timeouts
words of wisdom from klooloola There must be a better way to avoid browser timeouts while your CGI is waiting for scripts to finish but here is what i found. it just sets the alarm signal which when called outputs a html comment to keep the browser happy. select(STDOUT); $| = 1; # make unbuffered alarm(2); $SIG{“ALRM”} = sub {print “\n”;alarm (2);}; # do a lot of waiting for other scripts to finish here ex $results =`slowprogram`; # when done $SIG{“ALRM”}=”IGNORE”; print $results;
*&^@*@%#*%#
really bugged
LB/2002 and Phenom
Well this week was a blast. So finally the much waited Linux-Banglore 2002 happened. It went really great , and amazing response. How were the talks ??? Well I cant tell, coz I could not enter any of the halls. They were just jam packed and there was no place to even stand. I think the next time, we need to have the event in palace grounds. My talks went very well. I was kinda nervous about my ‘Secure Programming in Linux’ talk, but managed to pull that off well ( with some last min help from fus. Spent most…
my ( BSD + Apache + Mysql ) server stats :)
auth 03:16:33 ~ $ uptime 3:16AM up 302 days, 14:34, 2 users, load averages: 0.03, 0.01, 0.00 auth 03:16:33 ~ $