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 the default Orientation property in a Menu control?

755


Explain the use of resource manager class in .net.

710


What is the request flow used for asp.net mvc framework? : asp.net mvc

707


Explain model, view and controller represent in an mvc application? : asp.net mvc

705


What is the difference between sealed vs static class?

775


What are the types of validation in asp net?

731


How use Xml data in ASP.net?

747


What is the difference between file-based dependency and key-based dependency?

782


Is oauth for authentication or authorization?

761


Why we use asp.net for website development?

679


Explain how asp.net page works?

759


What is the compiled object?

1829


What is s2s tracking?

729


What is the difference between stored procedure vs function?

770


Should I delete cookies?

711