note 118059 added to function.session-name
| From: | VictorH | Date: | Sun, 27 Sep 2015 18:14:24 +0000 |
| Subject: | note 118059 added to function.session-name | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203860@lists.php.net to get a copy of this message | ||
As Joseph Dalrymple said, adding session_name do slow down a little bit the execution time.
But, what i've observed is that it decreased the fluctuation between requests.
Requests on my script fluctuated between 0,045 and 0,022 seconds. With
session_name("myapp"), it goes to 0,050 and 0,045. Not a big deal, but that's a point
to note.
For those with problems setting the name, when session.auto_start is set to 1, you need to set the
session.name on php.ini!
----
Server IP: 72.52.91.14
Probable Submitter: 189.121.88.148
----
Manual Page -- http://php.net/manual/en/function.session-name.php
Edit -- https://master.php.net/note/edit/118059
Del: integrated -- https://master.php.net/note/delete/118059/integrated
Del: useless -- https://master.php.net/note/delete/118059/useless
Del: bad code -- https://master.php.net/note/delete/118059/bad+code
Del: spam -- https://master.php.net/note/delete/118059/spam
Del: non-english -- https://master.php.net/note/delete/118059/non-english
Del: in docs -- https://master.php.net/note/delete/118059/in+docs
Del: other reasons-- https://master.php.net/note/delete/118059
Reject -- https://master.php.net/note/reject/118059
Search -- https://master.php.net/manage/user-notes.php