[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Persisting credit card details between pages

Posted on 2005-04-07
5
Medium Priority
?
251 Views
Last Modified: 2010-04-07
We will be implementing a payment solution where customers will be required to enter credit card information on a page and the next page shows the customer what they entered and confirm their entries.

What is the best way to persist the information between the two pages? Thanks for any help.
0
Comment
Question by:svid
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:Type25
ID: 13727434

Server.Transfer("Page2.aspx")


Page2 Load event
--------------------

string ccNo = Request["txtCreditCardNumber"].ToString();

0
 
LVL 9

Accepted Solution

by:
Type25 earned 300 total points
ID: 13727440
sorry that should be:  Server.Transfer("Page2.aspx", True)
0
 
LVL 5

Author Comment

by:svid
ID: 13727588
duh! I was thinking in terms of the database. Thanks.

Also similarly I have another form where I have a series of checkboxes in a grid and on submit, I would like to present a review page of what was selected and if necessary, they can click Edit selections and go back to the page where they edit the checkboxes selected. The selections should persist between these two pages. Is there a simple way to do this?

ps: I can increase the points for the new question.
0
 
LVL 9

Expert Comment

by:Type25
ID: 13727685
Might be best to save them in the database before going to the review page.

0
 
LVL 5

Author Comment

by:svid
ID: 13727821
OK thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question