What is the difference between application object and
session object?

Answer Posted / linton lazar

Application object can store the value through out the
application.It using Application.lock(),Application.unlock
() for store the values.

Sessions helps to preserve data across successive accesses.
These can be done on a per user basis, via the use of
session objects. Session objects give us the power to
preserve user preferences and other user information when
browsing a web application

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you will handle session when deploying application in more than a server?

596


Explain cashing in asp.net.

528


What is the namespace to create thread in .net?

530


What is the maximum timeout we can set for Cookies?

553


Describe Segmentation With Paging?

634






a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.

1446


How to display Alert in ASP.NET

650


Can we use a static function with a non-static variable?

510


How do you hide the columns?

593


What are main return types supported in Web API?

750


What is asp.net web application?

530


What are the different authentication modes in asp.net?

520


How does windows service lifecycle differ from a .standard. Exe?

516


In which event of page cycle is the viewstate available?

581


How would you get asp.net running in apache web servers? Explain it's limitations.

531