Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 189195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:09:08+00:00 2026-05-11T16:09:08+00:00

First off: I’m working on an e-commerce site that will accept credit cards. In

  • 0

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:

  1. Am I committing some well-known security faux pas by storing this in the session?
  2. 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?
  3. Is there a common way in .NET to encrypt/decrypt session objects for extra security?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:09:08+00:00Added an answer on May 11, 2026 at 4:09 pm

    From a ui/workflow standpoint, there really isn’t any need to store the credit card information or confirm it. If it is wrong, it won’t be approved. Most e-commerce sites request the credit card number as the last step after confirming address, phone etc.

    As for session, session is global to the particular session. It is not shared by other users and in general, there isn’t any way to get at the data in other sessions. As such, no need to encrypt it since it is stored on the server.

    If you stored sensitive information in ViewState or passed it over the QueryString, you would definately need to encrypt it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First off, I'm working on an app that's written such that some of your
First off, let me start off that I am not a .net developer. The
First off, this question is ripped out from this question. I did it because
First off, I created a screen cast, in order to explain what I have
First off I would like to say, that I am not trying to hack
First off, I'm using Access 2000 and DAO. I have code that executes a
First off, I am cross-posting this from Server Fault because I did not receive
First off I should forewarn you that I am a new grad(and EE at
First off, I am using Windows XP. I have multiple hard drives and it
First off, I understand the reasons why an interface or abstract class (in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.