Home »
MCQs »
ASP.Net MCQs
What is the difference between session object and application object in ASP.Net?
35. What is the difference between session object and application object in ASP.Net?
- The session object is used to maintain the session of each user while an application object is created while a user enters in the application
- Session objects are created on the server while application objects are created on the client side.
- Session objects are used to handle database communication while application objects are used to handle communication between two different domains.
- All of the above
Answer: A) The session object is used to maintain the session of each user while an application object is created while a user enters in the application
Explanation:
The difference between a session object and an application object in ASP.Net is that: Session object is used to maintain the session of each user while an application object is created while a user enters the application.