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 is the differance between .DLL & .EXE

10 Answers   Infinite Computer Solutions,


What is the difference between Server.Transfer and Response.Redirect?

5 Answers  


What is the namespace used to store the information about the user?s locale?

1 Answers   NeoSoft, Siebel,


Explain diff between dataset and datareader?

0 Answers  


IN an ASP.NET Web application if there is any error, how can you debug?

0 Answers   Siebel,


Advantage of Update Panel over Asp.net 2.0 + C#+ Microsoft Ajax 1.0

1 Answers   InfoSpace,


What does the .webpart file do?

0 Answers  


Which is the best institute for ASP.NET?

8 Answers   ABC Infotech, Tech Mahindra,


Difference between ADO.Net 1.1 and ADO.Net 2.0 ?

1 Answers   Value Labs,


can we pass values from one page to another page without redirecting to that page?

6 Answers   Google, Patni, Syntel, Wipro,


In a page there is dropdown list with the name of the cities like Bangalore,Pune,Chennai,Other and a text box that would enable the user to enter the name of the city if other is selected. How to enable validation on the text box if other is selected

1 Answers  


Describe session handling in a webfarm, how does it work and what are the limits?

0 Answers   Siebel Systems,


Categories