Snippets tagged “session-cookie”
2 snippets use this tag.
- PHP Sessions across subdomainsPHP
PHP sessions can be shared across subdomains by setting the session cookie's domain to the top-level domain.
- proper way to logout from a session in PHPPHP
To properly log out of a session in PHP, you can use the session_destroy() function.