What is the difference between application object and
session object?

Answer Posted / anand gopal makwa munger

You can use Application to store information that is accessible from all web page but it is not user-specific.To initialized application variable respond to the Application_Start event in Your Global.asax File

You can use Session to store user-specific information that is accessible from all web page. To initialized session variable respond to the Session_Start event in Global.asax File.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is full trust in asp.net?

638


Define msil.

633


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

772


When does a session actually start?

657


What are the differences between clr & cts?

627






How do you change the session time-out value?

665


What is _viewstart?

585


What is role-based security in asp.net?

604


Explain asp.net page life cycle?

704


What types of data validation events are commonly seen in the client-side form validation?

662


What are the different web pages?

574


What is Razor View Engine

699


What is the difference between CLICK and MOUSE DOWN Event ?

682


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

629


What are the session management techniques asp net?

649