What Is The Difference Between ViewState and SessionState?
Answer / pooooo
Session State contains information that is pertaining to a specific session (by a particular client/browser/machine) with the server. It's a way to track what the user is doing on the site.. across multiple pages...amid the statelessness of the Web. e.g. the contents of a particular user's shopping cart is session data. Cookies can be used for session state.
View State on the other hand is information specific to particular web page. It is stored in a hidden field so that it isn't visible to the user. It is used to maintain the user's illusion that the page remembers what he did on it the last time - dont give him a clean page every time he posts back.
| Is This Answer Correct ? | 8 Yes | 0 No |
What is difference between a function and a method?
Which operator cannot be overloaded in c sharp?
What is the real use of interface in c#?
Is python easier than c#?
Is java better than c#?
How do I create multifile assembly?
Explain how do you directly call a native function exported from a dll?
Which is the base class in c#?
Can you inherit multiple interfaces?
Any problem found in vs.et
What is the meaning of console writeline in c#?
Describe the parts of assembly.
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)