puja patel wrote:
hi all,
I am developing a shopping cart website in C# where after selecting item,
user enters credit card details and click on submit button.This request is
then processed by the gateway which usually takes from 5-10 sec of waiting
period to get response back if the transaction was approved of declined.
I want to implement page which says "Please wait...your request is being
processed." after user clicks on submit button and before I get response.
Could anyone please help me as how this can be done ?
thanks
puja
There are tons of ways and it really depends on how everything is setup.
For example, I did a "please wait..." page with a little animate gif as
a waiting for a web app that pulls data from a big Oracle data
warehouse. The setup is simple. I created the page that pulls and
displays the data. However, instead of linking to that page, I link to
a simple html page with the please wait... and graphic. The wait page
just has a <body onload=""> script that sets location.href to the page
that actually pulls and displays the data. This way your browser will
still display the "wait" page while it is waiting to get the completed
response for the long loading page.
Then there was another one that was more complex and the page had a meta
refresh tag. The page would check a database record to see if a
transaction was completed. If so, it would go to the final destination
page, if not it would just go back to itself and refresh.
So it all comes down to how you have everything setup. If you are
calling one page that takes 5-10 seconds, then just do the simple
"please wait..." setup I listed first. If the setup is more complex,
then post more details so others and I can help give you better ideas.
Jim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
You roll an 18 in Dex and see if you
don't end up with a girlfriend
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
JimD
Central FL, USA, Earth, Sol