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

if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.

1928


What is session object? Describe in detail.

659


What are Session states available and its Uses?

1799


What are the uses of list view control in Asp.net?

699


What is asp net application object?

619






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

606


What are the properties of the eventargs argument when capturing keyboard events?

660


What is ashx file in asp.net?

631


What is & in a url?

625


Explain about Automatic resource management?

680


What is s2s tracking?

627


How do you declare static variable? What is its lifetime?

596


How response object is related to asp's response object?

605


How do you remove duplicates without using remove duplicate stage?

697


What do you mean by caching in asp.net?

639