Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > "processing" page ?

"processing" page ?
Thread Tools
Registered User
Join Date: Sep 2002
Location: New York City
Status: Offline
Reply With Quote
Dec 9, 2003, 07:16 AM
 
Hi. I'm developing a PHP & MySQL site and I would like to have a page like "This may take one minute. Please wait while your request is being processed." come on the web browser when I'm executing a big job.

A good example of the interface that I'm looking for is actually on this site, MacNN. When you do a search in the site, there is a "processing" page that comes up.

Any ideas on how to do this in PHP?

Thanks in advance.

-Ben
     
Senior User
Join Date: Dec 2002
Status: Offline
Reply With Quote
Dec 9, 2003, 08:59 AM
 
You don't need PHP, you just do a re-direct. As far as I know, it isn't actually based on anything server side, rather just making you wait a bit to keep the load on the server down.
Travis Sanderson
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Dec 9, 2003, 09:10 AM
 
There is a way of directly doing this (if you are not writing for a heavily loaded site...), and that is "Server Side Push". I have used it a number of times, but will say that it can be a bit tricky (you have to watch out for buffering and cashing.. not to mention a whole slew of browser specific bugs).

Netscape has a nice basic tutorial that gives an over-view of what this is all about. It is more than a little dated, and does not cover any specific application platform (PHP, ASP..etc), nor does it cover all the bugs out there... but it does give you a nice start:

http://wp.netscape.com/assist/net_sites/pushpull.html
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:30 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2