php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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 http://validator.w3.org/check  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 "http://example.org/prog?x=1&y=2".

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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-18 06:23 UTC] derick@php.net
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 http://www.php.net/support.php 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 http://www.php.net/manual/en/configuration.directives.php#ini.sect.data-handling (and especially the arg_separator.output stuff).

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 19:01:28 2024 UTC