what is state management in ASP.NET

Answer Posted / om shivaya namaha

in Asp.Net we can two types of Sate Management
1. ClientSide State Managment :- It will occur in the
Clients Systems it wont use any server resourses it can be
reprasented in 5 types
i)View State :- It will store all the controls properties
and data during the postback operation
ii)Control state :- for custum control viewstate property is
not available so all the infromation about the control is
saved in the ControlState
iii)hiddenfilds:- hiddenfilds are used to store the data on
the client side
iv)QueryString :- by using QueryString we can pass the
values through the URL
v)Cookies:- Cookies can store the values in the client side
untill the application is closed the value of the cooke is
same it wont change

2. ServerSide statemanagment :-It is used to store the data
on the Server it is of 2 typew

i) Session state :- it is used to store the single user
information on the server untill the user log off it will
maintan the values in the server once the user logout and
another user login the session variables will maintain
untill he logs out
ii) Application State :- If we set the values in Global.aspx
page Aplication_start like that events this values can be
acessed through out all the pages in the application

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is caching in asp.net?

748


What are directives in asp.net? List down all the important directives.

688


List all templates of the repeater control.

747


What I need to create and run an asp.net application?

708


What is the difference between server-side scripting and client-side scripting?

742


Why web api is better than wcf?

758


What is the use of ASP.NET routing?

748


Is LINQ performance wise better or using sqlcommand?

4614


What do you mean by caching in asp.net?

738


Can we add code files of different languages in app_code folder?

818


What are Session states available and its Uses?

1932


Which is the best institute to learn Microsoft Technologies and the faculty if you Know?

1817


Mention the execution process for managed code?

727


Explain the difference between Repeater and Data list control in ASP.NET?

811


Explain the difference between asp & asp.net.

726