Create enable cookie method.