What is difference between session and viewstate?
Answer / Rohit Kumar Maddeshiya
Session is a server-side mechanism used to store user-specific data across multiple requests. ViewState, on the other hand, is a hidden field that stores the state of an ASP.NET web form control in the page, allowing controls to retain their values between postbacks.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which two new properties are added in asp.net 4.0 page class?
Where code pages are used?
How we handle the runtime database schema change issue in asp.net application?
Define reflection in .net?
What is a page life cycle? What are the events in a page life cycle?
What are main return types supported in Web API?
What's a bubbled event?
Describe the difference between inline and code behind - which is best in?
Difference between Htttppost and Httpget Methods?
What is difference b/w Data Grid in ASP.Net 1.1 and Gridview in 2.0
Explain one critical mapping?
What is anonymous authentication?
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)