What are benefits and Limitation of using Hidden fields
What are benefits and Limitation of using Hidden fields ?
Following are the benefits of using Hidden fields :-
ã They are simple to implement.
ã As data is cached on client side they work with Web Farms.
ã All browsers support hidden field.
ã No server resources are required.
Following are limitations of Hidden field :-
ã They can be tampered creating a security hole.
ã Page performance decreases if you store large data, as the data are stored in pages itself.
ã Hidden fields do not support rich structures as HTML hidden fields are only single valued. Then you have to work around with delimiters etc to handle complex structures.
Below is how you will actually implement hidden field in a project
<input id="HiddenValue" type="hidden" value="Initial Value" runat="server"NAME="HiddenValue">
2007-10-23, 4598👍, 0💬
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon...
If client side validation is enabled in your Web page, does that mean server side code is not run? W...
What is triple constraint triangle in project management ? Project Management triangle is depicted a...
What are the different storage classes in C? C has three types of storage: automatic, static and all...
What’ is the sequence in which ASP.NET events are processed ? Following is the sequence in which the...