projects
/
mdref
/
mdref
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
message
[mdref/mdref]
/
http
/
Cookie
/
setExpires.md
1
# http\Cookie http\Cookie::setExpires([int $value = -1])
2
3
Set the traditional expires timestamp.
4
See http\Cookie::setMaxAge() for a safer alternative.
5
6
## Params:
7
8
* Optional int $value = -1
9
The expires timestamp as seconds since the epoch.
10
11
## Returns:
12
13
* http\Cookie, self.