note 128545 added to function.session-name

From: Date: Tue, 16 May 2023 09:13:38 +0000
Subject: note 128545 added to function.session-name
Groups: php.notes 
Request: Send a blank email to php-notes+get-220500@lists.php.net to get a copy of this message
Always try to set the prefix for your session name attribute to either __Host- or __Secure- to benefit from Browsers improved security. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes Also, if you have auto_session enabled, you must set this name in session.name in your config (php.ini, htaccess, etc) ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.130 (proxied: 2.46.1.180) ---- Manual Page -- https://php.net/manual/en/function.session-name.php Edit -- https://main.php.net/note/edit/128545 Del: integrated -- https://main.php.net/note/delete/128545/integrated Del: useless -- https://main.php.net/note/delete/128545/useless Del: bad code -- https://main.php.net/note/delete/128545/bad+code Del: spam -- https://main.php.net/note/delete/128545/spam Del: non-english -- https://main.php.net/note/delete/128545/non-english Del: in docs -- https://main.php.net/note/delete/128545/in+docs Del: other reasons-- https://main.php.net/note/delete/128545 Reject -- https://main.php.net/note/reject/128545 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220500) next »