|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21722 &PHPSESSIONID not output as &PHPSESSIONID
Submitted: 2003-01-18 04:08 UTC Modified: 2003-01-18 06:23 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: heinrich dot schuchardt1 at epost dot de Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.2.3 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: heinrich dot schuchardt1 at epost dot de
New email:
PHP Version: OS:


 [2003-01-18 04:08 UTC] heinrich dot schuchardt1 at epost dot de
A session is generated with session_start(). The browser is set not to accept cookies. Inside the HTML-Code without the Session there would appear a code like:

<a href="/index.php?entryid=0&amp;category=0"></a>

With the automatic adding of the session-id it will look like:

<a href="/index.php?entryid=0&amp;category=0&PHPSESSID=6865f7d1491ccaddd676430ede3328"></a>

According to  this does not qualify as valid HTML:

" The validator has found an entity (something like &this;) that it doesn't recognize. There are a few possibilities:

      A reference to a URI that uses & as a separator between parameters, such as "".

      To solve this problem, simply replace all the &'s in attribute values with &amp; (user agents will convert them back before following the links.) "


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-18 06:23 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You can change this behavior by reading (and especially the arg_separator.output stuff).

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 15:01:34 2024 UTC