Page 1 of 1

mysql query status bar

Posted: Wed Nov 01, 2006 10:33 am
by nates310
I run a query on my mysql data base that takes about 5 seconds. I'm worried someone won't know that their info is on the way and will navigate away from the page. I'd like to put in some sort of status bar, or even just a message saying "your info is on the way, please be patient" while the query is executing.

Anyone know how to do this?

Posted: Thu Nov 02, 2006 2:36 am
by aaronhall
5 seconds is eons in hard drive world -- I'd be more concerned that my query is taking so long. Anyway, check out http://www.evilwalrus.org/scripts/Using ... to_browser. Or use an 'in-between' page with a message and a meta redirect tag that forwards to the real page.