-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Add support for multiple sessions by adding two optional arguments to createSession():
$cookie_namedefaults toself::COOKIE_NAME, but can be used to optionally specify a cookie-name and create custom sessions.$pathdefaults 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.