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...

Difference between application and session ?

Answer Posted / sumitpalsingh

Session object is used to store state specific information per client basis. It is specific to particular user.
Application object is used to store data which available across the entire application and shared across multiple users sessions.

Session has the expiration time,default time 20 mints.But application object doesn't have the expiration time.

Session object is used to maintain the session of each user. If one user enter in to the application then they get seesion id if he leaves from the application then the session id is deleted.If they again enter in to the application they get different session id.
But for application object the id is maintained for whole application.it doesn't differ for any user.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of validation controls provided in ASP.NET?

1130


What are the built-in objects in asp.net?

964


How to find out what version of asp.net I am using on my machine?

1063


How can we register exception filter from the action?

1048


What is ashx file in asp.net?

1026


Explain cookies with example.

958


Explain the advantages of passport authentication.

884


What is the question mark in a url?

903


Explain parts of assembly?

913


What are the various types of validation controls provided by asp.net?

951


What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

875


What is application state?

858


Explain what is an assembly?

922


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1989


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

970