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

6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

1725


What does uri mean?

489


How would you implement inheritance using c#?

573


How do we sort the data from a dataset?

571


What is form submit?

520






How does viewstate work?

572


How is a session stored and maintained in asp.net?

530


Is data edited in the Repeater control?

586


Explain login controls.

615


What is a viewstate?

566


What is loop in asp.net?

584


What is the difference between union and join?

563


What is the difference between GridView and Repeater controls in ASP.NET?

575


What are the security types in asp.net?

578


What is work flow gen? how can it will work with .Net?

2576