mobile browsers don't seem to be writing the cookie correctly