We define the monomial invariants of a projective variety Z; they are invariants coming from the generic initial ideal of Z. Using this notion, we generalize a result of Cook [C]: If Z is an integral variety of codimension two, satisfying the additional hypothesis sZ = sΓ, then its monomial invariants are connected.