Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState ?



What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState ?..

Answer / nikhiul saxena

ViewState is the mechanism ASP.NET uses to keep track of server control state values that don't otherwise post back as part of the HTTP form. ViewState Maintains the UI State of a Page
ViewState is base64-encoded.
It is not encrypted but it can be encrypted by setting EnableViewStatMAC="true" & setting the machineKey validation type to 3DES. If you want to NOT maintain the ViewState, include the directive < %@ Page EnableViewState="false" % > at the top of an .aspx page or add the attribute EnableViewState="false" to any control.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Where code pages are used?

0 Answers   Blue Star,


What is http protocol and how it works?

0 Answers  


What is preprocessor in .net?

0 Answers  


What are the page level transaction and class level transaction?

1 Answers   Satyam,


hi im shailendra singh my question is how we deploye the data base

3 Answers   HCL,


can u any one tell me clearly where is stored cache datas?

2 Answers   Apollo,


What r all the controls in ASP.NET ?

3 Answers  


How dataadapter.fill works?

0 Answers  


i want the asp.net technical questions and answeres

0 Answers  


Which method is used to enforce garbage collection in .net?

0 Answers  


What is the use of Administration tool in Asp.net 2.0?

2 Answers  


Mention few asp.net validators.

0 Answers  


Categories