I am trying to use the client api, but the cookie is not being set. Perhaps the way I am passing the values in is not correct? Passed in this way the cookie lenght equals zero.
dnn.dom.setCookie('AffiliateId','1',30,'/','dnn.com',false);
I also tried:
dnn.dom.setCookie('AffiliateId','1','30','/','dnn.com',false);
dnn.dom.setCookie('AffiliateId','1',30,'/','dnn.com','false');
dnn.dom.setCookie('AffiliateId','1','30','/','dnn.com','false');
The cookie length is zero everytime.
Thank you