Admittedly of limited use, here is a JavaScript function I wrote to detect the presence of httpOnly cookies. In Firefox the function will overwrite the real value of the cookie, so before using this function it is vital to try and read the cookie normally! Here is the script embedded in a test PHP page. {% highlight html %} HTTPOnly Cookie Test function testcookie(cookiename) { document.cookie = cookiename + '=new_value;