empty check on pCookie