what is caching,session? when & what is used mostly in
which situtations, how they r implemented in real time?
tell with example?

Answer Posted / hari kishan reddy

Caching is a technique to store frequently used web pages
and data to local hard disk, for later retrieval.
Session is used to store about the user information.

For example after login you want to use the user-name for
next pages, store the user-name in session, and you can call
this session through out the application. Default timeout
for session is 20 mins.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ispostback method in asp.net? Why do we use that?

569


In Code-Behind class which kind of code (server or client) is found ?

590


What is the concept of view state in asp.net?

559


What do you mean by marshalbyref?

636


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

510






Can you explain the importance of finalize method in .net?

585


Explain the differences between managed and unmanaged code?

498


What are the three parts of an http response?

525


How can u deifne the benefits and limitation of using Viewstate for state management?

701


What are Session states available and its Uses?

1691


How to implement role based security in asp.net mvc? : Asp.Net MVC

433


What does the .webpart file do?

583


What is preprocessor in .net? Where it use?

527


What is server infrastructure & server components?

780


What is difference between session and cookie?

511