You must Sign In to post a response.
Category: ASP.NET
#769816
ViewState is one of the most important in ASP.NET State Management .It is generally used for maintaining the state of the controls or objects.Basically, it is client side technique and is stored in hidden field on the page.In other words, it just act as a hidden field where it stored the value for the current page.It is transported to the client and back to the server.It is not stored in the server and the value of ViewState only persists for the current page only.It's value gets expired when current page is get expired.In other words it will not retain the value of the ViewState when current page get expired.
#769877
Hi,
In Asp.Net EnableViewState="True" EnableViewStateMac="True" its for Page Level and Application Level in Web.Config.
EnableViewStateMac="True" we cant able to see the Description for values.
Regards
Sriram.R
In Asp.Net EnableViewState="True" EnableViewStateMac="True" its for Page Level and Application Level in Web.Config.
EnableViewStateMac="True" we cant able to see the Description for values.
Regards
Sriram.R
#769945
Generally , Viewstate is stored on page it self in a encoded form. You can't access the viewstate in client side in a direct manner. You need to know the encoding/decoding algorithms to fetch the valuable data from this viewstate in clientside code.
so, enabling/using of view state is a performance /security issue and suggest to use session/application/table to store the same view state value to avoid the risks
Thanks!
B.Ramana Reddy
so, enabling/using of view state is a performance /security issue and suggest to use session/application/table to store the same view state value to avoid the risks
Thanks!
B.Ramana Reddy
Return to Return to Discussion Forum