DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Unable to change "Output Cache Provider" in Module Settings

 9 Replies
 1 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!

Hi -

Due to some errors I'm seeing (General Exception: The required anti-forgery cookie "__RequestVerificationToken" is not present. " ). I was advised to set the Page Settings >> Output Cache Provider setting to None (under Page Settings > Advanced > More ). (My pages were already set this way.

I was also advised to do the same inside Module Settings for my Action Forms (Module Settings > Page Settings > Cache Settings > Output Cache Provider)

However, when I change that setting from "File" to "None Specified" and hit "Update", and refresh the page,  the setting goes back to "File". It doesn't allow me to change the setting to "None Specified". Any idea why this is happening, or how I can actually change that setting?

Thanks

Tom
 

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
If your question is related to Action Forms, I think that DNNSharp is best equipped to answer that question.

In the meantime, which version of DNN and ActionForms are you using?
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!

Thanks - Yes I am asking on the DNN Sharp forums as well.

I did notice that I cant get the Output Cache Privider setting to change (in Module settings) , even for a simple HTML module (so the issue is not only in Action Forms)

I'm running DNN 9.6.1 - Action Form 5.1.54

Thanks for responding!

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
I'm able to change for HTML modules (that's all I tried) in a 9.7.0 installation.

Are you getting any errors? Check the log4net logs, too.
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!
Thanks Joe - the original issue that caused me to look into this is that I am seeing errors in Action Forms that say:
"The required anti-forgery cookie "__RequestVerificationToken" is not present."
To fix this I was told to set the Output Cache Provider to None (for both Page settings, and Module Settings) .
But I can't get this setting to work in Module settings

I looked in the error logs and don't see anything related to Output Cache Provider
Thanks

Tom
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!
Any idea why I can't set the Output Cache provider to None in Module Settings? When I set to None Specified, it reverts back to "File". It also has an "Inherited" label next to it, but the Page setting for Output Cache Provider is already "None".

There's even a note saying that the module (Action Form) recommends the setting to be "None", but DNN won't allow me to set it that way. And I dont see anything in the logs related to Output Cache Provider

Thanks

Tom
Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
Did DNNSharp respond to your question?
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!
I know a lot of time has passed, but I'm still seeing this issue. I have since upgraded DNN to 9.9.1

In the thread on DNN Sharp (now called PlantAnApp) forum. I was advised to update the Output Cache Provider to None
As I wrote in the thread :

The Page Settings > Advanced > More > Output Cache Provider setting is already set to "None" on the form pages.

In Settings > Servers > Module Cache Provider, there is no option to set to "none" (same for Page Output Cache Provider)

In the Module itself, Settings >Page Settings > Output Cache Provider, there *is* an option to set it to "None", but when I do, and try to Save, the setting reverts back to "File"

I'm wondering whether there is something else I can do to change this setting?

(Here's the thread itself https://community.plantan...on-Details?qid=1169)

-Tom
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!
I was advised by someone at DNNSharp to turn on the 'SSL Enabled' setting at Settings > Security > More.
So I've done that and will keep an eye out to see if it fixes these errors from occurring.
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!
I'm still seeing the error (General Exception: The required anti-forgery cookie "__RequestVerificationToken" is not present. " ). Even with the 'SSL Enabled' setting (at Settings > Security > More) turned on.
Does anyone know if there are any other ways I can try to fix this error from occurring?
Thanks
Tom

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved