What are benefits and Limitation of using Hidden fields ?

Q

.NET INTERVIEW QUESTIONS - What are benefits and Limitation of using Hidden fields ?

✍: Guest

A

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.

2009-06-30, 3988👍, 0💬