Differnce between Control an View State



Differnce between Control an View State..

Answer / dev

View State are valid mainly during postbacks and
information is stored in client only. Viewstate are valid
for serializable data only. Moreover Viewstate are not
secured as data is exposed to client. although we can
configure page directive and machine key to make view state
encrypted. Where in case of session this is user specific
data that is stored in server memory . Session state is
valid for any type of objects. We can take help of session
through different web pages also.

Is This Answer Correct ?    4 Yes 12 No

Post New Answer

More ASP.NET Interview Questions

What does mvc represent in asp.net? : asp.net mvc

0 Answers  


Where is the view state data stored?

0 Answers  


How ViewstateMac works?

0 Answers   CGI,


How do you register JavaScript for webcontrols ?

1 Answers  


How we can kill our Session in web farm where there is no any sticky server .And user can not Logout bcoz of that.

3 Answers  


Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

3 Answers   HCL, Wipro,


What is stateless asp or asp.net ?

2 Answers   Accenture, BirlaSoft,


Can we use http handlers to upload a file in asp.net?

2 Answers  


how to debug web services on consumer side?

0 Answers   HCL,


What is session state server?

0 Answers  


Can we add code files of different languages in app_code folder?

0 Answers  


How you can add an event handler?

0 Answers  


Categories