Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Cookie warning missing in DW9

Cookie warning missing in DW9

Søren Heide Larsen
Søren Heide Larsen
Reply

Hi,

I am using the new page view model but I am unable to get the cookie warning.

I tried to use the @Model.GetCookieWarningContent() but this returns blank even through I clear all my cookies.

Any advice?

/Søren


Replies

 
Martin Vang
Martin Vang
Reply

Hi Søren,

Can you try to set the template on the website?

I found a bug on the global configuration of the Cookiemanager: TFS 34057.

BR,

Martin

 
Søren Heide Larsen
Søren Heide Larsen
Reply

I am not sure i understand what you mean when you say "Set the template on the website"?

Can you explain further?

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply
This post has been marked as an answer

Hi Søren,

Normally you would be able just configure everything globally (Settings > Web and HTTP > Cookie Manager), but because of the bug Martin mentioned you currently have to configure each of the websites where you want to show cookie warnings.

Try this...

Edit the area / website you are currently testing. Select "Cookies" in the ribbon bar, select "Template based warnings" and choose a template.

Go to Settings > Web and HTTP > Cookie Manager and make sure that you have enabled cookie manager (checkbox).

/Morten

Votes for this answer: 1
 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Søren

The problem TFS#34057 "Cookiemanager does not work for globally defined cookie warnings" has now been fixed in 9.2.15+ versions 

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum