Answer Posted / 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 View All Answers
Can you explain how ASP.NET application life cycle and page life cycle events fire?
Explain login controls.
How can you make sure that web api returns json data only?
Can I combine classic asp and asp.net pages?
Explain the use of errorprovider control in .net?
Can you dynamically assign a Master Page?
Describe how passport authentication works.
Explain difference between dataset and recordset?
What is asp short for?
How do I send an email message from my ASP.NET page?
How will you load dynamic assembly?
How do you handle server controls?
Describe the difference between inline and code behind - which is best in?
What are directives in asp.net? List down all the important directives.
What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC