Announcement

Announcement Module
Collapse
No announcement yet.

What is the difference between SessionState and ViewState?

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is the difference between SessionState and ViewState?

    What is the difference between SessionState and ViewState?
    web development new york | web designer new york

  • #2
    The main difference between sessionstate and view state are:-
    Session State contains information that is pertaining to a specific session (by a particular client/browser/machine) with the server. It's a way to track what the user is doing on the site.
    View State on the other hand is information specific to particular web page. It is stored in a hidden field so that it isn't visible to the user. It is used to maintain the user's illusion that the page remembers what he did on it the last time - dont give him a clean page every time he posts back.
    website designing ludhiana punjab|Packers and movers in Pune

    Comment


    • #3
      Session State contains information that is pertaining to a specific session (by a particular client/browser/machine) with the server.View State on the other hand is information specific to particular web page. It is stored in a hidden field so that it isn't visible to the user.
      Web Design Services
      SEO Services

      Comment

      Working...
      X