File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ The following functions are available:
2525
2626 :param mixed $name: Cookie name *or * associative array of all of the parameters available to this function
2727 :param string $value: Cookie value
28- :param int $expire: Number of seconds until expiration
28+ :param int $expire: Number of seconds until expiration. If set to `` 0 `` the cookie will only last as long as the browser is open
2929 :param string $domain: Cookie domain (usually: .yourdomain.com)
3030 :param string $path: Cookie path
3131 :param string $prefix: Cookie name prefix. If ``'' ``, the default from **app/Config/Cookie.php ** is used
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ The methods provided by the parent class that are available are:
366366
367367 :param array|Cookie|string $name: Cookie name or an array of parameters or an instance of ``CodeIgniter\Cookie\Cookie ``
368368 :param string $value: Cookie value
369- :param int $expire: Cookie expiration time in seconds
369+ :param int $expire: Cookie expiration time in seconds. If set to `` 0 `` the cookie will only last as long as the browser is open
370370 :param string $domain: Cookie domain
371371 :param string $path: Cookie path
372372 :param string $prefix: Cookie name prefix. If set to ``'' ``, the default value from **app/Config/Cookie.php ** will be used
You can’t perform that action at this time.
0 commit comments