What is the difference between session object and application object?

1 votes
93 views
Sophia Morrow asked 15-Nov-2017 in programming by Sophia Morrow

What is the difference between session object and application object?

1 Answer

0 votes
Arti Mishra answered 25-Aug-2018 by Arti Mishra

Difference between session object and application object:

Session Object
The Session object is those objects which are used to store the specific information of that user which is entered in the application and when the user leave from the application then object will be destroyed. If again, the user enters into the application, it creates different session id.

Application Object
The application object is those objects which are accessible for the entire application and sharable across multiple users. And it only destroys when the application stops. By using application object we can easily find out how many people’s can access that particular site.