Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Briefly describe different techniques for ASP.NET State
Management?

Answers were Sorted based on User's Feedback



Briefly describe different techniques for ASP.NET State Management?..

Answer / krishnarao

StateManagement is a concept of maintaning the state
belonging into to the client.

StateManagement is 2 types

1.Client Side Statemanagement
A.View State
B.Query String
C.Hidden Fields
D.Cookies
2.Server side Statemenagement
A.Session
B.Application
C.Cache

Is This Answer Correct ?    27 Yes 3 No

Briefly describe different techniques for ASP.NET State Management?..

Answer / srinivasa choudary.m

There are different techniques for ASP.NET State Management
1. View State
2. Cookies
3. Session
4. Cache
5. Application, Etc.,

Is This Answer Correct ?    17 Yes 3 No

Briefly describe different techniques for ASP.NET State Management?..

Answer / shamna sankar

State management is implemented in order to retain
information about the user requests. Web pages are
stateless. Each request creates new page without retaining
any previous information about the user requests. ASP.NET
supports several State management techniques to maintain
state information.

State management in ASP.NET can be classified into
1.Client-side state management
2.Server-side state management

Client-side state management

This maintains information on the client's machine
using Cookies, View State, and Query Strings.

Cookies.
A cookie is a small text file on the client machine either
in the client's file system or memory of client browser
session. Cookies are not good for sensitive data. Moreover,
Cookies can be disabled on the browser. Thus, you can't
rely on cookies for state management.

View State
Each page and each control on the page has View State
property. This property allows automatic retention of page
and controls state between each trip to server. This means
control value is maintained between page postbacks.
Viewstate is implemented using _VIEWSTATE, a hidden form
field which gets created automatically on each page. You
can't transmit data to other page using view state.

Querystring
Querystring can maintain limited state information. Data
can be passed from one page to another with the URL but you
can send limited size of data with the URL. Most browsers
allow a limit of 255 characters on URL length.

Server-side state management
This kind of mechanism retains state in the server.

Application State
The data stored in an application object can be shared by
all the sessions of the application. The application object
stores data in the key value pair.

Session State
Session state stores session-specific information and the
information is visible within the session only. ASP.NET
creates unique sessionId for each session of the
application. SessionIDs are maintained either by an HTTP
cookie or a modified URL, as set in the application's
configuration settings. By default, SessionID values are
stored in a cookie.

Database
Database can be used to store large state information.
Database support is used in combination with cookies or
session state.

Is This Answer Correct ?    8 Yes 0 No

Briefly describe different techniques for ASP.NET State Management?..

Answer / shamna sankar

State Management is 2 types

1.Client Side Statemanagement
A.View State
B.Query String
C.Hidden Fields
D.Cookies
2.Server side Statemenagement
A.Session state
B.Application state

Is This Answer Correct ?    7 Yes 0 No

Briefly describe different techniques for ASP.NET State Management?..

Answer / sanjayi

the different techniques are
1. View State
2. Cookies
3. Session
4. Cache
5. Application, Etc.,

StateManagement is 2 types

1.Client Side Statemanagement
A.View State
B.Query String
C.Hidden Fields
D.Cookies
2.Server side Statemenagement
A.Session
B.Application
C.Cache

State management is implemented in order to retain
information about the user requests. Web pages are
stateless. Each request creates new page without retaining
any previous information about the user requests.

Is This Answer Correct ?    2 Yes 1 No

Briefly describe different techniques for ASP.NET State Management?..

Answer / kamal sharma

StateManagement are 2 types

1.Client Side Statemanagement
A.View State
B.Query String
C.Hidden Fields
D.Cookies
2.Server side Statemenagement
A.Session
B.Application
C.Cache
d.profile

State management is implemented in order to retain
information about the user requests. Web pages are
stateless. Each request creates new page without retaining
any previous information about the user requests.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Explain the asp.net page life cycle.

0 Answers  


I have one .Net application and i have two databases which is in SQL server2000 and one more database in ORACLE? how can i access the database from different Databases?

3 Answers   eXensys,


What is custom control. What is the difference between custom control and user control ?

1 Answers   Microsoft, Synergy,


What is the asp.net mvc folder conventions? : asp.net mvc

0 Answers  


Explain State management in asp.net

0 Answers   BirlaSoft,


what is the auto option in XML ?

1 Answers  


Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

2 Answers  


How many Language support in ASP.NET?

11 Answers   TCS,


How to retrieve the information from datatable citywise in c#?

2 Answers   HCL,


How can you enable impersonation in the web.config file?

0 Answers  


What is Fragment Caching in ASP.NET?

2 Answers   MCN Solutions, pspl, Wipro,


Explain server control extensibility with reference to asp.net 2.0 ?

0 Answers  


Categories