First off: I'm working on an e-commerce site that will accept credit cards. In order to get from the "Enter your information" page to the "Confirm your information" page, I need to store the credit card information somewhere that it can be retrieved before it ultimately gets sent to the payment gateway.
I'm currently leaning towards storing it as a session variable. That being said, my question is:
- Am I committing some well-known security faux pas by storing this in the session?
- Is a session object global? If two people submit their information at the same time, could one person's session get returned for the other person's transaction?
- Is there a common way in .NET to encrypt/decrypt session objects for extra security?