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
How we can force all the validation controls to run?
What is the use of HttpHandlers? When to use this?
What is Cookies Less Session?
How to prevent client side validation from the ASP.NET validation controls?
Can we have 2 web config files?
Using code explain Configuration Management
How to retrieve user name in case of Window Authentication?
How do you open a page in a new window?
What is the difference between visual basic and asp.net?
Why do we need a web application session?
Can you explain composite pattern?
Why web api is better than wcf?
Explain the Session state management options available with ASP.NET?
What is the use of web.config file?
How can you ensure a permanent cookie?