Difference between application and session ?
Answer Posted / maneesh upadhyay
the session object is used to maintain the session of each
user. If one user enter in to the application then they get
seesion id if he leaves from the application then the
session id is deleted.If they again enter in to the
application they get different session id.
sessions allows information to be stored in one page and
accessed in another,and it supports any type of
object,including your own custom data types.
Application state allows you to store global objects that
can be accessed by any client.
The coomon thing b/w session and application is both
support the same type of objects,retain information on the
server, and uses the same dictionary -based syntax.
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
What are the new web part controls in asp.net 2.0 ?
Which object wraps the state or data of a user?
How can we prevent browser from caching an aspx page?
Explain Areas in MVC?
Mention few asp.net validators.
What are the different types of proxy patterns?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
What is event in asp.net?
Is asp.net core faster?
How to make paging concepts in datagrid in ASP.NET?
In order to get assembly info which namespace we should import?
Explain about asp.net 2.0 themes?
What is asp.net futures?
Explain the benefits of viewstate?