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 7016535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:47:53+00:00 2026-05-27T22:47:53+00:00

I am developing a web application in which I plan to store some values

  • 0

I am developing a web application in which I plan to store some values in session variables. I plan to use SessionState service since the main reason I plan to use session variables is to reduce some part of the DB access (there will be at MOST 500 bytes of data per user).

Assuming that the user has their Session ID key, what must I do that the user cannot access the variables that I hide in the Session collection? Also do I need to take care about ViewState (although I plan to turn it off in this app., it would be nice to know)

  • 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-27T22:47:53+00:00Added an answer on May 27, 2026 at 10:47 pm

    what must I do that the user cannot access the variables that I hide in the Session collection?

    Unless the user has root access to your server (which is where the session data is stored) you shouldn’t worry too much. But I guess that if the user had root access to your server you would have far bigger problems to worry about than session data.

    The client cannot access data which is stored inside the session. Only server side code can access it. So it is up to you to decide what information you want to send to the client. All that the user sees is the session id (which is stored in a cookie), not the actual session data. This id is sent by the user on each request so that the server can find the corresponding data which in your case is stored in the memory of the state server that you have configured.

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

Sidebar

Related Questions

I am developing a Cocoa application which communicates constantly with a web service to
I am developing a web application, in which I have used session management to
I'm developing a web-application using PHP which is on tests by some of my
I'm developing an ASP.Net web application which makes use of MySQL via the MySQL-Provided
I am developing a web application which has Chart Controls. I have developed a
We are developing a web application which is available in 3 languages. There are
When developing a new web based application which version of html should you aim
I'm currently involved with developing a C# CMS-like web application which will be used
I'm developing a web application for a company which I work for. My team
I am developing a C# web application in VS 2008 which interacts with my

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.