What is the difference between application object and
session object?

Answer Posted / kinjal panchal

Session Object:- Using the session object u can store data
for some specific user.data not store permanently in the
session.
for Example:- using the session user go throw internal pages
in the web applications up to time out of the session
and the best example of the session is e-commerce site.
in this u store the product in the session with uses other
pages of applications.

Application object:- in application object data not store
permanently but any time u modify application object using
lock() and unlock().

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use a Master Database in Asp.net?

798


Name the tools or API for developing or testing web api?

750


Explain the difference between asp.net mvc and asp.net webforms

805


What are the three parts of an http response?

730


Why is it preferred to not use finalize for clean up?

761


What is viewstate? What does the “enableviewstate” property do?

746


How can we communicate with each server in N-tier Architecture? and what are the methods?

2008


How about the security in Activex DLL and Activex EXE ?

2048


Mention the execution process for managed code?

760


What is web router?

701


how can create login from create and written conde in asp.net

2012


3. What goals do you have in your career?

1644


What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?

756


Explain the role of global.asax?

761


Is global asax mandatory?

770