in reply to cookie check

As far as I know, since cookies are a browser thing, you'd have to try to set a cookie, and then check if it worked.