BIROn - Birkbeck Institutional Research Online

    httpOnly Cookie Detection

    Eve, Martin Paul (2007) httpOnly Cookie Detection. eve.gd ,

    [img] Text
    2007-05-15-httponly-cookie-detection.markdown - Published Version of Record
    Available under License Creative Commons Attribution.

    Download (2kB)

    Abstract

    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.

    Metadata

    Item Type: Article
    School: Birkbeck Faculties and Schools > Faculty of Humanities and Social Sciences > School of Creative Arts, Culture and Communication
    Research Centres and Institutes: Contemporary Literature, Centre for
    Depositing User: Martin Eve
    Date Deposited: 20 Nov 2016 11:46
    Last Modified: 24 Aug 2023 13:56
    URI: https://eprints.bbk.ac.uk/id/eprint/16784

    Statistics

    Activity Overview
    6 month trend
    120Downloads
    6 month trend
    322Hits

    Additional statistics are available via IRStats2.

    Archive Staff Only (login required)

    Edit/View Item Edit/View Item