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 does it mean your session has timed out?
How do you change the session time-out value?
Explain MVC model binders?
How to disable disable browser's Back button in asp.net (JavaScript)?
What is the syntax for datagrid and specifying columns?
Can viewstate be accessed in another page?
Explain the difference between debug.write and trace.write? When should each be used?
What is asp net application object?
Which is better asp.net or php?
What is the difference between login controls and forms authentication?
What is the differences between a primary key and a unique key in sql server?
How Can assign alias name for ASP.NET Web API Action?
What is asp.net architecture?
in which protocol ASP.NET WEB API Work?
What is the difference between pathparam and queryparam?