Copied!

Persists cookies in the client session

CloneableInstantiableIterable
Methods
public __construct(string $sessionKey, bool $storeSessionCookies = false)
 

Create a new SessionCookieJar object

  • param string $sessionKey Session key name to store the cookie
    data in session
  • param bool $storeSessionCookies Set to true to store session cookies
    in the cookie jar.
public __destruct()
 

Saves cookies to session when shutting down

public save() : void
 

Save cookies to the client session

Methods
protected load() : void
 

Load the contents of the client session into the data array

Properties
private $sessionKey = NULL
 
  • var string session key
private $storeSessionCookies = NULL
 
  • var bool Control whether to persist session cookies or not.
Methods
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration