Benefits and limitation of viewstate for state management, DOT NET Programming

What are benefits and Limitation of using Viewstate for state management

The benefits of using Viewstate are as follows:-

1)    There is no server resources required because state is in a structure in the page code.

2)    Simplicity.

3)    The States are retained automatically.

4)    The values in view state are hashed, encoded, and compressed, & hence, representing a higher state of security than the hidden fields.

5)    The View state is good for caching data in the Web frame configurations as the data is cached on the client.

The limitations of using Viewstate are as follows:-

1)    The Page loading and posting performance reduces  when large values are stored as view state is stored in the page.

2)    Although view state stores data in the hashed format, it can still be tampered as it is stored in a hidden field on the page. The information in the hidden field can be seen if the page output source is viewed directly, creating a potential security risk.

Posted Date: 9/22/2012 1:23:05 AM | Location : United States







Related Discussions:- Benefits and limitation of viewstate for state management, Assignment Help, Ask Question on Benefits and limitation of viewstate for state management, Get Answer, Expert's Help, Benefits and limitation of viewstate for state management Discussions

Write discussion on Benefits and limitation of viewstate for state management
Your posts are moderated
Related Questions
Custom Mql4 Code/Fxdreema block Project Description: I need the subsequent code written in mql4 and integrated as custom block(s) in fxdreema: for each trade: check pro

cookieless="false" timeout="20" /> Above is sample session state mode specified for SQL SERVER.

how can we use entity framework in ASP.Net MVC

Project Description: My project is to construct for me an application that emulates the http requests made in a webapp. It will need a lot of dedication and skill in C#,.net,

Printing Triangles - C# Program I need program code for Printing Triangles in C#. Can anybody send me there ideas?

ASP.NET/MSSQL/ MVC completing backend solution + integrating with frontend. - repost Project Description: System is used for tracking company's activities through several pro


Print Floyd's Triangle - C# Program I am unable to make out how to print Floyd's Triangle in C# language. Can anyone suggest me any example for this.

Calculate Standard Deviation - C# Program Hello i am unable to find the code for Calculate Standard Deviation in c#. Can anybody please provide me the assignment help?

I need deatch-bycahpca API tutorial Please teach me how to use deatch-bycahpa API Skills required: Visual Basic, C# Programming