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
What are the advantages of passport authentication?
How to find last error which occurred in Asp.net ?
What methods are fired during the page load? Init()
can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com
What is inproc mode in session?
What is paging in context of Memory?
Explain repository pattern in asp.net mvc? : asp.net mvc
What is strong-typing versus weak-typing?
Explain what is an assembly?
Differentiate between a hyperlink control and a linkbutton control.
Which is the best institute to learn Microsoft Technologies and the faculty if you Know?
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
Explain swagger components.
What are the advantages of asp.net?
Can action method static?