Re: Is any drawbacks in using VIewState["key"] in forms Advantages:
- No server resources required
- simple implementation
- automatic retention of page and control state
- Enhanced security features. The values in view state are hashed, compressed, and encoded for Unicode implementations.
Disadvantages:
- Performance. The view state is stoed in the page itself, so increase the page size.
- Security. The view state is stoed in a hidden field on the page. Although view state stores data in a hashed format, it can be tampered
- Because the view state for a given page must be kept on the server, it is possible for the current state to be out of synchronization with the current page of the browser, if the user uses the Back feature on the browser to go back in the history.
Regards
Manivannan.s |