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
Explain the various authentication mechanisms in asp.net.
Define repository pattern in asp.net mvc? : asp.net mvc
How you can stop the validation of ASP.NET controls from client side?
How you will manage the state of ASP.NET controls?
In which event of the page viewstate is available?
What is full trust in asp.net?
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?
What kind of programming language is ASP.NET?
What is the difference between ASP.NET Webforms and ASP.NET MVC?
What is rich control in asp.net?
What is csrf attack in asp.net?
Can you use c# without .net?
What is advantage of code behind coding in ASP.NET?
there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?
Explain the steps to be followed to use passport authentication.