473,394 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

how to implement Please wait page....?

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

Jun 5 '06 #1
4 3469
"puja patel" <pu********@leap.com.au> wrote in message
news:O$**************@TK2MSFTNGP03.phx.gbl...
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 ?


It's scary to think you're dealing with credit card transactions and asking
this question.

Michael
Jun 5 '06 #2
This could be realized with Async methods calls. Look at AJAX realization
like ATLAS (.net 2.0), MagicAjax (.net 1.1, 2.0)
They offer you a such functionality and have samples

BTW, if you don't wont to use that libraries you can realize this
functionality by your own using XML HTTP request (google by this words to get
information)
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 ?


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jun 5 '06 #3
Puja,
here is an article with a simplified approach to this:

http://www.eggheadcafe.com/articles/20050108.asp

Be aware that there are at least 10 other ways to accomplish this effect,
including but not limited to Michael's XMLHTTP approach.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"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


Jun 5 '06 #4
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
Jun 5 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jason . | last post by:
I have seen a few articles with a javascript example but it is not working for me. The server side code is processed first and then the javascript so I basically get my page loading splash screen...
3
by: Danny Masti | last post by:
Hello, I have a HIDDEN div with a "Please Wait Message". OnSubmit I show the hidden div with the "Please Wait Message". It works fine. But if I replace the "Please Wait Message" with an animated...
4
by: Dennis M. Marks | last post by:
I have multiple functions that dynamically build parts of a page. It can take 15-30 seconds for this process to complete. In IE nothing appears until the page is complete. In Netscape parts of the...
4
by: Stephajn Craig | last post by:
I have one page that may take a while to process on the server, and I'd like to implement a please wait message on this page when it posts back to the server and does its business. The page is...
3
by: Lucas Tam | last post by:
Does anyone have easy to use sample code to build a "Please wait... processing data screen?" I'm interested in something like Expedia's search page Thanks. -- Lucas Tam...
5
by: Chris | last post by:
Hi, I was following the article http://msdn.microsoft.com/msdnmag/issues/03/12/DesignPatterns/default.aspx I got everything working until I go the the Progress bar section. Here is where I am...
2
by: s_erez | last post by:
Hi, This is a realy tricky one. I have an ASP.NET application where some pages are reading data from a DB and presenting reports. In order for the user to wait while the page is reading data from...
4
by: ~Maheshkumar.R | last post by:
hi groups, I have developed one FTP application in ASP.NET, When i upload a file, i want to show something on screen like " Please wait ...! Your file is being uploading........" As soon the file...
5
by: Jeremy | last post by:
Hi all, I have database actions that will potentially take several seconds to complete. My normal page uses AJAX so keeping the user informed of what is happening is not a problem. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.