public function SessionCookieJar::__construct in Lockr 7.3
Create a new SessionCookieJar object
Parameters
string $sessionKey Session key name to store the cookie: data in session
bool $storeSessionCookies Set to true to store session cookies: in the cookie jar.
Overrides CookieJar::__construct
File
- vendor/
guzzlehttp/ guzzle/ src/ Cookie/ SessionCookieJar.php, line 23
Class
- SessionCookieJar
- Persists cookies in the client session
Namespace
GuzzleHttp\CookieCode
public function __construct($sessionKey, $storeSessionCookies = false) {
$this->sessionKey = $sessionKey;
$this->storeSessionCookies = $storeSessionCookies;
$this
->load();
}