44b61c5b59528901d29faa2a3d696144df9b1039
[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:***
7 > A return value of -1 means that the attribute is not set.
8
9 ## Params:
10
11 None.
12
13 ## Returns:
14
15 * int, the currently set max-age.