Empty session cookie leads to warning
| From: | Christian Stoller | Date: | Tue, 11 Feb 2014 07:31:19 +0000 |
| Subject: | Empty session cookie leads to warning | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-72453@lists.php.net to get a copy of this message | ||
Hi all.
On our server we infrequently get a warning when session_start() is called. The message says
"The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9
and '-,'"
But print_r($_SERVER) in those cases contains only "PHPSESSID" - so the session cookie has
no value. In my opinion the warning message is a bit irritating, or does it have a deeper meaning?
Best regards
Christian