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
Why session management is required?
What is the difference between trace and debug in asp.net?
Describe in brief .net framework and its components.
What is cross page posting? How is it done?
Explain culture and uiculture values.
Define view state.
Do you know caching feature?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
What are the advantages of Web API?
What is the biggest disadvantage of “Other Return Types” in Web API?
How to reduce the width of textbox in editcommandcolumn of datagrid?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
how can create login from create and written conde in asp.net
what is AutoEventWireUp and what is the use of This property explain in details?
What is the procedure to create the environment for asp.net? : asp.net mvc