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
What is the use of "Must Inherit" keyword in VB.NET? If you want to create an abstract class in the VB.NET it is done by using the "MustInherit" keyword.You can't create an obj

Need to develop a simple .net software I am seeking someone who can design a customized software for me, prefrebly in .NET. I have a sql server backend which i would like to use

This is a Customer Management project. Customer data is offered in a text file. The program may load this text data into its database columns. The data mapping is user definable. U

Name the two properties of the GridView control that have to be specified to turn on sorting and paging. The properties of the GridView control that require to be specified to

what is Entity-relationship diagram for e-resource planner software

Which namespaces are required to enable the use of databases in ASP.NET pages? The following namespaces are required to enable the use of databases in ASP.NET pages:     Th

Part 1 requires you to complete a dynamic web presentation tier, based on your MiddlewareLib.dll  library. This should run as an ASP.NET page, Default.aspx, under WebDev.WebServer,

how we can display a alphabets by identifies an image and if its different than show someother alpbabets.

Define XPATH. XPATH is an XML query language to select specific section of an XML document. By using XPATH you can address or filter elements and text in a XML document. For il

What is XPath? XPath stands for XML Path. It is a language used to access dissimilar parts of an XML document, such as elements and attributes.