What is the difference between application object and
session object?
Answer Posted / sridevipc
A session is the time for which a particular user interacts
with a web application.
that data stored in session is not permanent and data
stored is usually only available to a specific user
Sessions serve as a way to transport and maintain user data
in web pages, such as forums, or e-commerce websites.
The Application object stores data that is shared accross
the application and not for a specific user. Internally the
values of both the Session and Application objects are
stored in a key/value pair (HashTable). All data stored in
Application in stored 'in process', meaning if you restart
your application all data in lost (I will show you how to
maintain all application data in another tutorial).
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is globalization and localization in asp net?
What are the disadvantages of using session?
Can any body provide me the sample web application in asp.net
Why asp.net mvc is better than asp.net? : Asp.Net MVC
What is connection pooling and how to enable and disable connection pooling?
Name the two properties are on every validation control?
What is the asp.net mvc folder conventions? : asp.net mvc
Can we have multiple master pages in asp net?
What type of code, client-side or server-side, is found in a code-behind file of a Web page?
In how many ways we can retrieve table records count?
which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites
Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
Describe state management in asp.net?
What are the differences between the response.write() and response.output.write()?
How does asp net store session ids by default?