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
Why session is used in asp.net?
What are merge modules?
Is asp.net a programming language or framework?
What is windows active directory authentication?
What are the advantages of using session?
What are the features that make asp.net more used framework? : asp.net mvc
What are the disadvantages of using session?
What is the difference between Hash table and Array list?
Explain asp.net page life cycle?
What is a 404 redirect?
What is session start?
What is base class of button control in .net?
From which base class all web forms are inherited?
Can you set the session out time manually?
How to unit test Web API?