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]
    class Cookie
    @safe @property
    void
    maxAge
    (
    Duration value
    )
  3. long maxAge [@property getter]

Meta