Difference between application and session ?
Answer Posted / ezhil dinesh
Application state is a global storage Mechanism that is accessible from all pages in the web application.
Session State is similar to application state, except that it is scoped to the current browser session. If different users are using your application each user session will have a different session state.
In addition, if a user leaves your application and then returns later, the second user session will have a different session state from the first.
-----------------------------------------------------------
Both application and session state is useful for storing information that needs to be maintained between server roundtrips and between requests for pages.
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
What is server components?
What is the difference between page.registerclientscriptblock and page.registerstartupscript?
What is a multilingual website?
What is inproc mode in session?
Define machine.config in .net?
What is the difference between executescalar and executenonquery?
What is a pixel url?
What is state management in asp.net with example?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
Explain page output caching?
Describe the .net base class library.
How to turn off cookies for a page?
What is cached data phone?
What is caching? Explain.