Accessing Cache object in Global.asax

Posted by Poster under ASP.NET category on | Views : 5811
Generally people face difficulty while accessing the cache object in the Global.asax file as its not available directly.

You can use following way to store the object into cache in Global.asax file.

HttpRuntime.Cache["Points"] = "YourObject" ;


Comments or Responses

Login to post response