Difference between application and session ?
Answer Posted / sumitpalsingh
Session object is used to store state specific information per client basis. It is specific to particular user.
Application object is used to store data which available across the entire application and shared across multiple users sessions.
Session has the expiration time,default time 20 mints.But application object doesn't have the expiration time.
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.
But for application object the id is maintained for whole application.it doesn't differ for any user.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
What is difference between Fragment Caching and Page Caching in ASP.NET?
Explain about ASP.NET?
What is special types forms
What is asp.net and its advantages?
What is localhost in asp.net?
What is ispostback property?
What is asp.net futures?
what is publisher?
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.
What is the differences between a primary key and a unique key in sql server?
What is _dopostback in asp net?
What are the media types of http requests and response?
What is semantic gap?
List the advantages and disadvantages of user control an custom control?