Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsCachingCaching
Previous
 
Next
New Post
7/8/2006 3:27 PM
 

Hi Andrew,

Your father helped me creating a query to get the number of subscribers I have on my site but unfortunetly it does cache the results of that query and does not show me real time information. What can I do about this?

 
New Post
7/8/2006 5:27 PM
 
Hi Mariette

This is an issue in the way I setup the caching and I am working to fix it. You can clear the cache manually by going to the Module Settings and just pressing Update without changing any settings (this forces the cache to be cleared). That is one workaround but probably not quite what you are looking for. My first priority on the Module right now is implementing a setting that will allow you to disable caching completely so hopefully this issue will be fixed quickly.

However, as a short-term workaround and if you are ok with diving into the code a bit, I can show you which line to change to disable caching in the code. However, this has NOT been tested fully and the changes will affect all Reports modules in your site, so I recommend backing up the relevant file first.

In App_Code/Reports/ReportsController.vb at line 145 in ExecuteReport
Replace this line: Dim objCache As Object = DataCache.GetCache(strCacheKey)
With this line: Dim objCache As Object = Nothing

This will force the system to execute your query every time, completely bypassing the cache.

Hope that helps, and there should be a proper fix for this issue soon!

Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
New Post
7/8/2006 5:34 PM
 

Hi Andrew,

I could see I had more subscribers today! That is what I like to see. Thanks, that worked.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsCachingCaching


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out