Class CookieStorage
Cookie Storage
Persist key value in client (web browser) cookies.
Notes:
- Since it uses PHP built-in setcookie, set value will fail after headers being sent.
- There are limits on number of bytes per cookie, and number of keys per client.
- And other caveats with setcookie.
- LeanCloud\Storage\CookieStorage implements LeanCloud\Storage\IStorage
Namespace: LeanCloud\Storage
See: http://php.net/manual/en/function.setcookie.php
Located at LeanCloud/Storage/CookieStorage.php
See: http://php.net/manual/en/function.setcookie.php
Located at LeanCloud/Storage/CookieStorage.php
public
|
#
__construct( integer $seconds = 0, string $path = "/", string $domain = null )
Initilize cookie storage |
public
|
|
public
mixed
|
|
public
|
|
public
|