Differences between session state and Application state?
Answer Posted / vino
Session state and Application state both are support the
same type of objects and maintain information on the server.
Session state:
- The session object is used to maintain the session of each
user. A user gets a session id when he enters in to an
application. This Id will delete when he leave from that
application. If he enters again he will get a different
session Id.
- Session allows information to be stored in one page and
access in another page and support any type of object.
Application state:
- But the application object, the Id is maintained for whole
application.
- Application state allows storing global objects that can
be accessed by any client.
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
What are the types of session in asp.net?
What are the versions of garbage collection?
What is preprocessor in .net and type, where it use?
What is the concept of view state in asp.net?
How do sessions work?
What are session and cookies?
Explain about asp.net state management?
What events will occur when a page is loaded?
What are sessions and cookies?
Is viewstate enabled by default?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
Can user control be stored in library?
Which is the parent class of the web server control?
Which method do you use to enforce garbage collection in .net?
What is protected configuration?