Cache is normally used to store items accessed across the application.
i.e; across multiple sessions.. But where as the Session is used to
store the session specific data.
For your question, the answer is NO, the value of Cache["x"], will be
same across different sessions
RAM wrote:
Hello,
I am learning .NET, ASP.NET 2.0. I would like to ask you a question: when to
use Cache["x"], when to use Session["x"]? If I have multiuser application
can I use Cache["x"] to keep some value separately for each user logged in?
Thank you.
/RAM/