note 113970 added to security.hiding
| From: | anon at example dot com | Date: | Mon, 23 Dec 2013 22:48:27 +0000 |
| Subject: | note 113970 added to security.hiding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198012@lists.php.net to get a copy of this message | ||
The session name defaults to PHPSESSID. This is used as the name of the session cookie that is sent
to the user's web browser / client. (Example: PHPSESSID=kqjqper294faui343o98ts8k77).
To hide this, call session_name() with the $name parameter set to a generic name, before calling
session_start(). Example:
session_name("id");
session_start();
Cheers.
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/security.hiding.php
Edit -- https://master.php.net/note/edit/113970
Del: integrated -- https://master.php.net/note/delete/113970/integrated
Del: useless -- https://master.php.net/note/delete/113970/useless
Del: bad code -- https://master.php.net/note/delete/113970/bad+code
Del: spam -- https://master.php.net/note/delete/113970/spam
Del: non-english -- https://master.php.net/note/delete/113970/non-english
Del: in docs -- https://master.php.net/note/delete/113970/in+docs
Del: other reasons-- https://master.php.net/note/delete/113970
Reject -- https://master.php.net/note/reject/113970
Search -- https://master.php.net/manage/user-notes.php