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

Why and where this web.config file is used?

0 Answers   Amazon,


Difference between datagrid and datareader?

1 Answers  


how to use web services with code?(with example code)

1 Answers   Accenture,


What is difference between abstract class and an interface?

0 Answers  


What is the function of new view engine in asp.net? : asp.net mvc

0 Answers  






hi guys do u know how to go one page to one page to another page plz tell me any of u know

3 Answers  


What is application and session in asp.net?

0 Answers  


I need to download file from web server, without using save as dialogue box. Can anyone help, thanks In advance.

1 Answers  


Define tracing.

0 Answers  


what are the oops concepts are used in your project?

1 Answers   AppShark, IBM, Kotak,


what is impersonation in ASP.NET?

7 Answers   Accenture, Merrill Lynch, Wipro,


What line in the following XML document will generate an error? <?xml version=?1.0?> <employees> <employee> <name>Bob Andcarrol</name> </employee> <employee> <name>Robert Burns</name> </employee> </employees> a) 6 b) 4 c) 1 d) There is no error

3 Answers   Syntax Softtech,


Categories