HttpWatch Automation Reference - Version 13.x
HttpWatch Namespace / Cookie Class / IsHttpOnly Property

In This Topic
    IsHttpOnly Property
    In This Topic
    Indicates the state of the HttpOnly flag for this cookie.
    Syntax
    'Declaration
     
    Public ReadOnly Property IsHttpOnly As Boolean
    public bool IsHttpOnly {get;}
    Remarks

    The HttpOnly flag can be set on a cookie returned from the server to stop it being accessed from Javascript in the browser, helping to reduce the change of Cross Site Server (XSS) attacks.

    Always check the value of the IsHttpOnlyKnown property before using IsHttpOnly.

    Requirements
     
    See Also