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

What is the advantage of mvc over asp.net? : Asp.Net MVC

499


What is repository pattern in mvc.net? : asp.net mvc

522


What is data cache in sql server?

590


Explain server control extensibility with reference to asp.net 2.0 ?

537


What is the difference between asp.net and mvc?

578






What is an assembly? Explain its parts.

629


What is parse in asp.net?

551


Explain the working of passport authentication.

541


What are the different types of sessions in asp.net?

488


Explain the role of global.asax?

547


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

608


What is the displayafter property in updateprogress control?

509


Can you set the session out time manually?

378


Disable Mouse right click on web page in asp.net?

580


Do session use cookies in asp net?

494