c# - Keep Value of Hidden Filed in Master Page -


i have hidden filed in master page , there several pages using master page.

in first page change hidden filed value , works fine, when change page hidden filed reset. how can keep value on page changing?

there several ways go this, use cookies, or (how it), store value in session object instead can access anywhere in application. if want keep using hidden field in master page, has been answered several times here before.
here's example.
https://stackoverflow.com/a/10348525/3299157
, here example showing how use session objects: https://stackoverflow.com/a/5282694/3299157


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -