Cookie.maxAge

Maximum life time of the cookie

This is the modern variant of expires. For backwards compatibility it is recommended to set both properties, or to use the expire method.

  1. long maxAge [@property setter]
  2. Duration maxAge [@property setter]
  3. long maxAge [@property getter]
    class Cookie
    @safe @property const
    long
    maxAge
    ()

Meta