tags:

views:

37

answers:

1

hi all i want to know that we can store information and session information of a user as well as control in three approch 1. View State 2. session state 3. custom cookies so i want to know that in which circumstances we will use following 1. View State 2. session state 3. custom cookies will any one describe importance and use of each

+3  A: 

Check below article will describe each option in details

ASP.NET State Management Overview

Client-Based State Management Options

  • View State
  • Control State
  • Hidden Fields
  • Cookies
  • Query Strings

Server-Based State Management Options

  • Application State
  • Profile Properties
  • Session State
Pranay Rana
what is client based state management ?
Nishant
@Nishant -- see the link article of msdn which describe you in detail about server based and client based state management
Pranay Rana
Client based means: state is saved in the client's browser (i.e., in a cookie, field, query string), server based means: state is saved on the server. Missing in this list perhaps are Cache, Database, State server?
Abel