The easiest way to disable the cookie creation is to override the method GetRelativePathOfTemplateFile on the template content class. The code inside that method looks like this:
if (WAFRuntime.Installation.EnableMobileSupport && FilepathMobile.Length > 0 && UseMobileTemplate(true)) {
WAFContext.Request.IsMobile = true;
return FilepathMobile;
} else {
return Filepath;
}
The UseMobileTemplate method call have a useCookies parameter that you can change to false.
Since Template is a built-in content class, you can't override the GetRelativePathOfTemplateFile directly, you have to create new content class that inherits from Template, and add the override there.
We'll add a simpler option to override the cookie handling later.