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

How Session use Cookies in State Management?

615


Is post back property in asp net?

531


What are the namespace classes used in asp.net mvc? : asp.net mvc

552


What is .net framework and what are the main components of it?

377


What is role-based security in asp.net?

525






Can we have a web application running without web.config file?

526


How does session state work in asp.net?

509


What is use of Master Page in ASP.NET web pages?

628


Give me one example of Web API Routing?

602


Describe the Server Control Events of ASP.NET?

661


What are user controls?

573


Can you use Web API with ASP.NET Web Form?

698


How to display validation messages in one control?

551


Define tracing.

630


What is difference between web config and global asax?

445