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 |
What types of data validation events are commonly seen in the client-side form validation?
What is the main difference between hash table and Dictionary?
What do you mean by authentication and authorization
What do you understand from custom control?
Explain the page lifecycle of an asp.net mvc? : asp.net mvc
Give an example of cookie abuse.
Why do we use asp.net?
What methods are fired during the page load?
7 Answers InSync Tech-Fin, Siebel Systems, Visual Soft,
Which method is used to enforce garbage collection in .net?
What benefit does your code receive if you decorate it with attributes demanding specific Security permissions?
I am opening Crystal Report in asp.Net 3.5. Report is opening very well but when I click on Refresh button of Crystal Report then it gives "Missing Parameter values" I also tried property of CR Viewer like crViewer.ReuseParameterValuesOnRefresh = True But it is not working. Plz give me solution.
Can we handle the error and redirect to some pages using web.config?