Re: "Please wait" page while processing - SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

For anyone interested, it was a combination of issues.

First, I had to use flush() and ob_end_flush() combined to
get the page to display in IE. end_flush didn't work on its
own.

Second, I was being dim in redirecting away from the message
page - because of course it won't display after a redirect.
So you have to do the processing in the message script,
saving the result to the session. Then keep polling the
message page with a client-side refresh till the gateway
processing completes and you can re-direct to the result
page.

GC> I'm writing a checkout.

GC> When user submits their card details, I want to redirect
GC> them to page with a "please wait" message. Then redirect to
GC> the script that does the payment processing. Then when I
GC> have the response from the gateway, redirect again to the
GC> result page.

form ->> message -> processor -> result_page

GC> I've seen this done but I can't figure out how.

------------------ 
Geoff Caplan
Vario Software Ltd
(+44) 121-515 1154 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux