Switch of cookie check.