HiddenField Web Server Control
in ASP.NET environment,The HiddenField control can be used to store your information in the page and hides it from user view. For example, you can store the Applicationpath within this.
comparing with other web server control, the information in a HiddenField control is available during postback. The information is not persisted outside the page.
HiddenField Security
While the page is rendering in web page, The information in a HiddenField control is not displayed, but users can see the contents of the control by viewing the page's source. Therefore, do not store sensitive information in a HiddenField control, such as user IDs, passwords, or credit card information.
the following code snippets represents the way of includes HiddenField