You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for multiple sessions by adding two optional arguments to createSession():
$cookie_name defaults to self::COOKIE_NAME, but can be used to optionally specify a cookie-name and create custom sessions.
$path defaults to "/", and can be used to optionally restrict the cookie to a given path.
For example, a dedicated cookie could be generated for a back-end system restricted to paths under /admin - this would be unreadable from the public pages on the site.
The text was updated successfully, but these errors were encountered:
Add support for multiple sessions by adding two optional arguments to
createSession()
:$cookie_name
defaults toself::COOKIE_NAME
, but can be used to optionally specify a cookie-name and create custom sessions.$path
defaults to"/"
, and can be used to optionally restrict the cookie to a given path.For example, a dedicated cookie could be generated for a back-end system restricted to paths under
/admin
- this would be unreadable from the public pages on the site.The text was updated successfully, but these errors were encountered: