Discuss this help topic in SecureBlackbox Forum


TElCookie     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

Specifies if the cookie should be used only for HTTP communication.


    bool HTTPOnly;

    Property HTTPOnly As Boolean

    property HTTPOnly : boolean;

    bool get_HTTPOnly();
    void set_HTTPOnly(bool Value);

    bool get_HTTPOnly()
    void set_HTTPOnly(bool $Value)


This attribute is defined in RFC 2965 and was previously used in Netscape cookie specification.      From RFC 6265:

The HttpOnly attribute limits the scope of the cookie to HTTP requests. In particular, the attribute instructs the user agent to omit the cookie when providing access to cookies via "non-HTTP" APIs (such as a web browser API that exposes cookies to scripts).

See also:     Included    

Discuss this help topic in SecureBlackbox Forum