What is Difference between Application object and Session Object
Answers were Sorted based on User's Feedback
Answer / chandra prakash andani
Session object is user specific. A unique session id creates for every user when a user opens application. A application object is application specific. It remains the same for all the users.
Is This Answer Correct ? | 17 Yes | 2 No |
Answer / m madar
Application object store the data till application is shut down.
Session object store the data till browser close.
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / senthil
Session objects resets when a user logs out i.e,the user
session is timmed out but applications objects are reset
when the application is uninstalled.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / venkat
sessions are used to store key-value pairs.
sessions are used to identify every user who make request to web application and create the id for every user is called sessionid,sessionid will travel between every request and response using cookie.
Application object also used to store key-value pairs same like sessions.
Application object is used to share by all users,which is common for every user.
Is This Answer Correct ? | 1 Yes | 0 No |
session is only for uniqe identified of the user
but application object is not only pertiquler person it can be used any person
Is This Answer Correct ? | 0 Yes | 0 No |
Can we change the session timeout in ASP.NET, if yes then how and from where?
How would you enable impersonation in the web.config file?
Explain the concept of MVC Scaffolding?
how can u create the blog in asp.net with C#?what is the data type u will use to store in sql server?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
What symbol would you use to denote, the start of a code block in aspx views?
What are various authentication mechanisms in ASP.NET ?
How long does an http session last?
What are session and cookies?
what to magage the state manament in asp.net with respect to in_prock and out_prock
Explain login controls.
Is asp.net outdated?