write  out client cookie