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
Locate BUG website Project Description: Can you find a bug in easports fifa 14 ultimate team web app (easports/fifa/football-club/ultimate-team) so that i will earn a lot of

Converting temperature from Fahrenheit to Celsius - Program C# I am facing some problems in the code for Converting temperature from Fahrenheit to Celsius. Can anybody suggest

Design an interface and add code to command buttons using case statement, to find coursework to be calculated using formula 0.6*1/6*total Mark

I need asp.net print page task Project Description: I have a little task on asp.net, I need to print a text data to receipt printer from web page, I used the subsequent code

Question: (a) How do you implement the following in ASP.NET: (i) Server-side Comments (ii) Server-side Include Directives. (b) (i) Give two reasons why the IsPostBack

Why does an organization need to manage the workloads? The workload can be explained as an independent service or a set of code that can be implemented. It can be everything f

A CRM based on .net and Oracle as backend with import data, Transaction Reporting and management Capabilities Project Description: 1. Introduction ADA recovery Branch gets


Question: (a) Give four benefits of ASP.NET Web Controls. (b) List and explain any five properties of the ValidationSummary control. (c) Multiple Web Form controls ca

How many types of assemblies are there? Private, Public/Shared, Satellite. A private assembly is normally used by a one application, and is stored in the application's director