Method | Use when |
Cookies | You need to store small amounts of information on the client and security is not an issue. |
View state | You need to store small amounts of information for a page that will post back to itself. Use of the ViewState property does supply semi-secure functionality. |
Hidden fields | You need to store small amounts of information for a page that will post back to itself or another page, and security is not an issue. Note You can use a hidden field only on pages that are submitted to the server. |
Query string | You are transferring small amounts of information from one page to another and security is not an issue. Note You can use query strings only if you are requesting the same page, or another page via a link. |
Thursday, August 7, 2008
Client-side state management summary
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment