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
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.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 10 20:01:33 2024 UTC