Accessing Cache object in Global.asax

Poster
Posted by Poster under ASP.NET category on | Views : 5616
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" ;


Thanks

Comments or Responses

Login to post response