[nycphp-talk] Please wait, processing, message technique
Thomas O'Neill
tommyo at gmail.com
Wed Jul 11 14:00:18 EDT 2007
I did something like what you see on orbitz.
Check it out..
http://tconeill.com/examples/pixelcrunch/
On 7/10/07, Tim Lieberman <tim_lists at o2group.com> wrote:
>
> Never really thought about it.
>
> If your backend processes is asynchronous (or if you make it so) you
> could have your "progress" script just meta refresh until the back-end
> has a result, and then on the next refresh, 302 out of there.
>
> Cliff Hirsch wrote:
> > For long and indeterminate page processing, like connecting with a
> > credit card payment gateway or calculating pi to thousands of
> > significant digits, what is your preferred method for displaying
> > "please wait"?
> >
> > I see two techniques:
> >
> > 1. Use Javascript upon form submission to display the "please wait"
> > message
> > 2. Echo a "please wait" page from the server and then do a 302
> > redirect upon completion of the scrpt.
> >
> >
> > Issues:
> >
> > 1. Not everyone uses JavaScript
> > 2. Can you issue a header redirect after echoing a "please wait"
> > message. I though headers need to be sent first. Is a 302 header
> > redirect an exception?
> >
> >
> > Cliff
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > New York PHP Community Talk Mailing List
> > http://lists.nyphp.org/mailman/listinfo/talk
> >
> > NYPHPCon 2006 Presentations Online
> > http://www.nyphpcon.com
> >
> > Show Your Participation in New York PHP
> > http://www.nyphp.org/show_participation.php
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
--
Tom O'Neill
tommyo at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070711/1b998541/attachment.html>
More information about the talk
mailing list