[PHP-DEV] PHP 4.0 Bug #3320: PHPSESSID happens when cookies are enabled From: ckohtz <email protected>
Date: 01/26/00

From: ckohtz <email protected>
Operating system: FreeBSD 3.2
PHP version: 4.0 Beta 3
PHP Bug Type: Scripting Engine problem
Bug description: PHPSESSID happens when cookies are enabled

--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.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>