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
Explain security types in asp.net?
How we can force all the validation controls to run?
Why Unload event of MasterPage Calls first in ASP.net ?
Is asp.net easy to learn?
What do you mean by serialize?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
Briefly describe the role of global.asax?
What is web api and why to use it?
What is the maximum amount of memory any single process on windows can address?
explain code with multi inhertance
How many ways are there to maintain a state in .net? What is view state?
List down the sequence of methods called during the page load.
COM+ Used ________________ Isolation Level
Where is cookie used in asp.net?
Which is faster viewdata or viewbag?