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

Reply via email to