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 pareto principle? The Pareto principle also paraphrased as 80/20 principle is simple effective problem tackling way in the management. It says that 20% of your problems

What do you understand by SOAP encoding? The Serialization of the types, such as integers and strings, inside a SOAP message is known as encoding. The SOAP objects use XML elem

Explain the WSDL. WSDL is a short form for Web Services Description Language, which is used to explain a Web service in terms of the messages that it forms and accepts. The WS

Create login page: Consider the login page for a typical webmail service, such as GMail or Outlook Mail. Your task for this assignment is to design a test plan for such a logi

What are types of compatibility in VB6 There are three possible project compatibility settings: No Compatibility Project Compatibility Binary Compatibility

sir, i just trapped in decryption.....wud u plz help me

13579 3579 579 79 9 How to the logic in code. pls give me Ans.

Web Developer Project Description: We need of an expert web developer for long term association, please apply with models if you have the subsequent skills: ASP.NET MVC 3

How to use a checkbox in a datagrid? The steps to be done are as follows:- 1)    In the ASPX page you have to add Itemtemplate tag in datagrid. 2) I

Question: (a) Explain the Postback process as use with Web Forms. (b) Write extract codes to demonstrate how to store and retrieve values in: (i) a Session Object (ii)