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

Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

0 Answers  


How do you a replicate a set of controls across a number of ASP Pages

2 Answers  


Why we use asp.net for website development?

0 Answers  


When cookie will expire?

0 Answers  


How can we inherit a static member?

0 Answers  






What are Http handler ?

1 Answers   Patni,


What is difference between session and application in asp net?

0 Answers  


How does dataset acts in a disconnected fashion ?

3 Answers   TCS,


How is a property designated as read-only?

2 Answers  


What is data control in asp.net?

0 Answers  


What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

0 Answers  


How do you deploy your asp.net application?

0 Answers  


Categories