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?

  1. 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
  2. Session objects are created on the server while application objects are created on the client side.
  3. Session objects are used to handle database communication while application objects are used to handle communication between two different domains.
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.