From: brett at realestate-school dot com
Operating system: Linux - Red Hat
PHP version: 4.3.1
PHP Bug Type: Session related
Bug description: Session data loss when accessing session from multiple windows.

Problem: You have a main window that manipulates and diplays data from a
$_SESSION array. You cannot open a popup window, then manipulate your
sessions in the main window, then reload your popup window without
corrupting your session.

At first glance, it seems to work right, but once you start testing, you
realize that it just doesn't work. Sometimes you get the correct data,
usually you don't. I'm using version 4.2.3 (yes i know...upgrade), but I
originally saw this reported as a bug in an earlier PHP version and the
PHP team said it wasn't a bug, not because they tested it, but because
they said it was impossible for it to happen due to the way PHP is written
because PHP serializes all session requests, locks the sessions..blah,
blah, blah. I can therefore, only assume that the bug still exists in
later versions as it is present in version 4.2.3 and I've found no reports
of it being fixed or even acknowledged as a bug. I found at least one
other person on who had the same problem and finally solved
it by giving up on sessions and passing his data in a query string.

Config Info:

Env: i386-redhat-linux-gnu

'./configure' '--prefix=/usr/local/'
'--with-openssl=/usr/local/ssl' '--enable-shared' '--enable-versioning'
'--enable-pic' '--disable-posix-threads' '--with-openssl=/usr/local/ssl'
'--disable-debug' '--enable-magic-quotes' '--disable-rpath' '--with-zlib'
'--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-exif'
'--with-gdbm=/usr' '--enable-dbase' '--with-gd=/usr/local'
'--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
'--with-freetype-dir=/usr' '--with-gmp' '--with-imap=/usr/local'
'--with-imap-ssl=/usr/local/ssl' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt=/usr'
'--with-mhash=/usr' '--with-mysql=/usr/local/mysql' '--enable-sockets'
'--with-regex=system' '--enable-wddx' '--with-expat-dir=/usr'
'--enable-xslt' '--with-xslt-sablot=/usr' '--enable-inline-optimization'

Reproduce code:
My code is way too big to post here. If anyone wants to take this bug
seriously, please e-mail me at brett at (address
obfuscated..just format it like a normal e-mail address) and I will
provide code samples.

Edit bug report at [url][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]