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 |
Why session is more secure than cookies?
What are the advantages of using Master Pages?
Explain the Session state management options available with ASP.NET?
What does AspCompat="true" mean and when should I use it?
What is the difference between excute query and excute nonquery.?
What is MVVM in dot net?
In which event of the page viewstate is available?
What method must be overridden in a custom control? a) The Paint() method b) The Control_Build() method c) The Render() method d) The default constructor
1 Answers Icertis, Microsoft, Syntax Softtech,
How do we sort the data from a dataset?
Distinguish between Server-side and Client-side code?
How does the iis work?
What is the benefit of WebAPI over WCF?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)