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 ?

Answers were Sorted based on User's Feedback



Difference between application and session ?..

Answer / 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

Difference between application and session ?..

Answer / santosh

sessions allows information to be stored in one page and accessed in another and it supports any type of object including your own custom data types.

Application state allows you to store global objects that can be accessed by any client.

The coomon thing b/w session and application is both support the same type of objects retain information on the server and uses the same dictionary -based syntax.

Is This Answer Correct ?    3 Yes 6 No

Post New Answer

More ASP.NET Interview Questions

What is the difference between page directive include and action tag include?

0 Answers  


What is shared and private assembly?

1 Answers   Accenture,


How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?

0 Answers   CTS,


what is asp.net

12 Answers   Dynacs,


What is a page life cycle? What are the events in a page life cycle?

0 Answers  


i need code for insert,delete,update adn display records using stored procedure in C#

2 Answers  


hi .net gurus here is my question " how does impersonate in asp.net works? explain with good example"

2 Answers   PennyWise, TCS, Wipro,


How many types cache in asp net?

0 Answers  


What are the new features implemented in ASP.NET?

0 Answers   TCS,


What are server activated objects?

0 Answers  


Any disadvantages in Dataset and in reflection ?

1 Answers   DELL,


Can we use multiple forms in single asp.net application?

3 Answers   Polaris,


Categories