Client ID Cookie
Client ID Cookie
- public static function setClientIDCookie($request) — Set the client ID cookie. This is a random cookie used like a CSRF value during authentication workflows.
Next URI Cookie
Next URI Cookie
- public static function setNextURICookie($request, $next_uri, $force) — Set the Next URI cookie. We only write the cookie if it wasn't recently written, to avoid writing over a real URI with a bunch of "humans.txt" stuff. See T3793 for discussion.
- public static function getNextURICookie($request) — Read the URI out of the Next URI cookie.
- private static function parseNextURICookie($cookie) — Parse a Next URI cookie into its components.