cookie
[mdref/mdref-http] / http / Cookie / getMaxAge.md
1 # int http\Cookie::getMaxAge()
2
3 Get the currently set max-age attribute of the cookie list.
4 See http\Cookie::setMaxAge().
5
6 > **Note:** A return value of -1 means that the attribute is not set.
7
8 ## Params:
9
10 None.
11
12 ## Returns:
13
14 * int, the currently set max-age.