php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3320 PHPSESSID happens when cookies are enabled
Submitted: 2000-01-26 12:59 UTC Modified: 2000-07-20 00:33 UTC
From: ckohtz at covalent dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 3 OS: FreeBSD 3.2
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: ckohtz at covalent dot net
New email:
PHP Version: OS:

 

 [2000-01-26 12:59 UTC] ckohtz at covalent dot net
--enable-trans-sid was used to compile PHP

I assume this is a scripting engine problem but not sure.  Using IE 5.0 with cookies enabled, when I open my browser to a page with an empty link <a href="">something</a>, the PHPSESSID=stuff is added to the end and some HTML is repeated.

<a href=""><b>New Online Demo Available...</b></a>
?PHPSESSID=1ae0b9afb0d0027089a9d193b96d338f""><b>New Online Demo Available...</b></a>

When I do a refresh, this problem goes away.  Likewise, once opened to the site, if I leave this page, then come back, the error does not reoccur.  It only happens the first time I visit the page.

Empty links do not occur often, but durring development, they are used a lot as place holders for links to pages that haven't been created yet.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-18 09:26 UTC] hholzgra at cvs dot php dot net
on the first request we do not know if the
browser will accept cookies so we have to
use trans_sid too

the problems regarding rewritung of empty urls 
are fixed in cvs
 [2000-07-20 00:33 UTC] hholzgra at cvs dot php dot net
forgot to close
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 15:00:02 2026 UTC