I would love to use hidden field value but I think I am missing something to do.
Since every page refresh or staying a little bir longer on the page, the value is missing.
ASP.NET MVC: Make Session entirely cookie-less (hidden form field)
? how can i do the this cookiles suff above…?
I use hidden value to keep the url to redirect to next page. May be i sould not keen on using hidden value, session variables are better?
Advices please.
Regards
If you want to keep something across the page refresh, you need to use a server side control with ViewState enabled. You have not made it clear whether for hidden fields, you are using any server side control or plain old html control. With html control, you shall have to manage the show for yourself.