What is difference between cache and session?



What is difference between cache and session?..

Answer / Nirmala Kushwah

"Cache" stores data temporarily in memory or on disk to reduce the number of requests needed for frequently accessed resources, thus improving performance. "Session", on the other hand, maintains user-specific state information across multiple HTTP requests. Sessions are typically used for tracking logged-in users and their actions within an application.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is webresource axd?

1 Answers  


What is mta?

1 Answers  


What is the difference between ASP Session State and ASP.Net Session State?

1 Answers  


Why do we need Web Services?

1 Answers   Mind Tree,


how to write code for role based security

2 Answers  


Difference between Active Exe and Activex dll ?

1 Answers   DELL,


What methods are fired during the page load?

1 Answers  


Disable browser cache for entire ASP.NET website?

1 Answers   HCL,


Does asp.net still recognize the global.asa file?

1 Answers  


What is CTE in sql server 2005?

3 Answers   Minecode,


Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,


what are the ihttphandler and ihttphandlerfactory interfaces ?

1 Answers  


Categories