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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -