Code example for HttpCookie

Methods: hasExpired, setDomain, setMaxAge, setPath