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
I need to create the subsequent iOS App/ iPhone (to be followed by Android & other platforms). Version 1.0--Users can: --Find events based on proximity/zipcode*/ location

What precautions we need to take while deploying satellite assemblies? When we distribute the assembly, the folder structure has to be very organized. The table below shows how

Program of Reversing Array - C# Program Please provide me assignment help regarding my problem.

Project Description: Legacy ASP.NET application for managing tasks for a private client needs a complete re-write. The application has approximately 2500 lines of code, combi

Xlsx/Csv File Reader Need C# MVC coder that will do the following- Take a filepath for an online xlsx, xls or csv file (must be able to handle each of these formats) as well

CTS(Common Type System) : In order that the two language communicate smoothly CLR has CTS (Common Type System). Example in VB you have "Integer" and in C++ you have "long" these d

I want high skilled C++ programmers Project Description: I want to hire the developer, who are proficient in C/C++ and have experience with STL and work with the data structu

What is Unicode? In order to understand the concept of Unicode we require  to move a little back and understand the ANSI code. The ASCII (ask key) stands for American Standard

Find out the Factorial - C# Program I've been trying so many codes for this but those codes didn't work well. Please write the code for find out the factorial of an integer nu

Find out circumference and area of a circle - C# Program Need Help in Assignment.