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


Please Help Members By Posting Answers For Below Questions

Explain how do you deploy your asp.net application?

479


Is asp.net and .net are same or different?

516


If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?

566


Why mvc is better than asp.net? : Asp.Net MVC

465


What is the difference between Hash table and Array list?

369






Explain the working of passport authentication.

541


What is global.asax file used for?

557


Explain how can we inherit a static member?

528


What is the difference between localization and globalization?

557


What are asp.net web forms?

517


What is asp.net mvc5? : Asp.Net MVC

530


What is & in a url?

527


What is Web API Routing?

602


What is true about application service provider?

487


Which library is used by the testers and developers to develop automated tests and create testing tools?

538