Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between application object and
session object?

Answer Posted / sridevipc

A session is the time for which a particular user interacts
with a web application.

that data stored in session is not permanent and data
stored is usually only available to a specific user

Sessions serve as a way to transport and maintain user data
in web pages, such as forums, or e-commerce websites.

The Application object stores data that is shared accross
the application and not for a specific user. Internally the
values of both the Session and Application objects are
stored in a key/value pair (HashTable). All data stored in
Application in stored 'in process', meaning if you restart
your application all data in lost (I will show you how to
maintain all application data in another tutorial).

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain why it is useful to use mvc instead of webforms? : asp.net mvc

985


Do gac'ed assemblies have fulltrust?

1025


What is the use of HttpHandlers? When to use this?

1059


What is class and object in asp.net?

1057


Where is session data stored in asp net?

920


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

1114


How u refer webservices?

1891


What is asp.net and ado net?

949


What are the best practices to follow to secure connection strings in an ASP.NET web application?

1006


Explain server-side scripting and client-side scripting.

858


What is user control in asp.net?

985


Explain the main function of url routing system in asp.net mvc? : asp.net mvc

945


How do you declare static variable?

966


How can we create a website?

897


Why web api is better than wcf?

1045