Hi,
I have a problem building cookiewarnings in old DwStylesheets.
I wrap external plugins, that add cookies in this conditional:
<!--@If(Global:CookieOptInLevel = "All")-->
...Content...
<!--@EndIf-->
So these plugins are only displayed, whenever the user clicks "ok" to the cookie warning pop up.
This works fine in template based design, but in the old DwStyleSheets, the system is caching the content serverside. The cached parts are storing old values of <!--@Global:CookieOptInLevel-->, it seems. So whenever I refresh the page, the value is not being changed and the content remains hidden. However this doesn't happen in the master, but in the paragraph templates.
Whenever I delete the cache in the backend filarkiv-->cache, the value instantly changes to the correct value and displays/hides content as it should.
I can't ask the customer to go to the individual pages and set the local cache on the page not to be stored. I can foresee a lot of trouble for my customers, who will forget about this extra action, and a lot of times will experience content, that is not being displayed.
So, I was hoping, that there was a tag or an easy fix, to remove the cache frem specific templates.
Regards
Martin