From:             pmioni at hce dot it
Operating system: SOLARIS 10
PHP version:      5.2.6
PHP Bug Type:     Session related
Bug description:  session used in a frameset produces wrong files in reply

Description:
------------
This bug is (apparently) specific to Solaris.
It cannot be replicated on our test CentOS machine.
This is not the usual variation of "somebody not understanding how
sessions work in a frameset"

We have an e-learning application, called Dokeos (www.dokeos.com), which
has a tool using framesets containing a set of frames, each pointing to a
separate php file.
All php files share the same session (which is rather large in terms of
saved content) across the frames.
The application behaves unpredictably: some frames load correctly, some
load the content of other frames, some remain white.
On refresh of the main frameset page, every frame misbehaves in a
different way, so contents move around.
Even refreshing individual frames keeps failing miserably. 
Basically, let's say that the frameset frameset.php calls files 1.php
through file 6.php.
The frame containing 2.php, upon first opening of the frameset and upon
refresh, can contain the output of anything from 1.php to 6.php to the
frameset.php itself, and even other pages which were browsed earlier on the
same server.

The problem is cross-browser, is not caused by Javascript (it happens when
JS is blocked at browser level), and cannot be caused by wrong header()
calls in the PHP code, since at least some of the files do not have any
header() call anywhere, and still the system returns another file in their
place.

The same application (the same files, the same database, the same content)
works just fine on our CentOS server, with the same version of PHP but
Apache 1.3.41.

Any help? Any suggestions?




Here's the top of our phpinfo():

PHP Version 5.2.6

System  SunOS rpol-c 5.10 Generic_127127-11 sun4v
Build Date      Jun 5 2008 19:14:30
Configure Command       './configure' '--prefix=/opt/coolstack/php5'
'--disable-debug' '--disable-dmalloc' '--disable-inline-optimization'
'--disable-libgcc' '--disable-libtool-lock' '--disable-static'
'--enable-calendar' '--enable-ctype' '--enable-cli' '--enable-cgi'
'--enable-fastcgi' '--enable-dba=shared' '--enable-dbase' '--enable-dom'
'--enable-exif' '--enable-force-cgi-redirect' '--enable-ftp'
'--enable-gd-jis-conv' '--enable-gd-native-ttf' '--enable-ipv6'
'--enable-libxml' '--enable-magic-quotes' '--enable-mbregex'
'--enable-mbstring' '--enable-pcntl' '--enable-pdo' '--enable-posix'
'--enable-reflection' '--enable-safe-mode' '--enable-session'
'--enable-shared' '--enable-shmop' '--enable-short-tags' '--enable-soap'
'--enable-spl' '--enable-sqlite-utf8' '--enable-sysvmsg' '--enable-sysvsem'
'--enable-sysvshm' '--enable-ucd-snmp-hack' '--enable-wddx'
'--enable-xmlreader' '--enable-zend-multibyte' '--with-bz2=shared,/usr'
'--with-cdb' '--with-curl=shared,/opt/coolstack' '--with-curlwrappers'
'--enable-flatfile' '--with-freetype-dir=/opt/coolstack'
'--with-gd=shared,/opt/coolstack' '--with-gdbm=/opt/coolstack'
'--with-gettext=shared,/opt/coolstack' '--with-gmp=shared,/opt/coolstack'
'--with-iconv=shared,/opt/coolstack'
'--with-imap-ssl=shared,/opt/coolstack/imap'
'--with-imap=shared,/opt/coolstack/imap' '--enable-inifile'
'--with-jpeg-dir=/usr' '--with-layout=PHP'
'--with-ldap=shared,/opt/coolstack' '--with-ldap-sasl=yes'
'--with-libexpat-dir=/opt/coolstack/apache2' '--with-libmbfl'
'--with-libxml-dir=/opt/coolstack' '--enable-mod-charset'
'--with-mssql=shared,/opt/coolstack' '--with-mysql-sock'
'--with-mysql=shared,/opt/coolstack/mysql_32bit'
'--with-mysqli=shared,/opt/coolstack/mysql_32bit/bin/mysql_config'
'--with-ncurses=shared,/opt/coolstack' '--with-ndbm=/usr'
'--with-openssl=shared,/opt/coolstack' '--with-pcre-dir=/opt/coolstack'
'--with-pdo-dblib=shared,/opt/coolstack'
'--with-pdo-mysql=shared,/opt/coolstack/mysql_32bit'
'--with-pdo-odbc=shared,unixODBC,/opt/coolstack'
'--with-pdo-pgsql=shared,/usr' '--with-pear' '--with-pgsql=shared,/usr'
'--with-pic' '--with-png-dir=/usr' '--with-readline=shared,/opt/coolstack'
'--with-pspell=shared,/usr' '--with-snmp=shared,/opt/coolstack'
'--with-tidy=shared,/opt/coolstack' '--with-tsrm-pthreads'
'--with-unixODBC=shared,/opt/coolstack' '--with-xmlrpc'
'--with-xpm-dir=/usr/openwin' '--with-xsl=shared,/opt/coolstack'
'--with-zend-vm=CALL' '--with-zlib=shared,/usr' '--without-dbm'
'--without-ndbm' '--without-t1lib' '--x-includes=/usr/openwin/include'
'--x-libraries=/usr/openwin/lib'
'--with-apxs2=/opt/coolstack/apache2/bin/apxs'
Server API      Apache 2.0 Handler
Virtual Directory Support       disabled
Configuration File (php.ini) Path       /opt/coolstack/php5/lib
Loaded Configuration File       /opt/coolstack/php5/lib/php.ini 

Reproduce code:
---------------
This would require login to a machine, and navigation in a site.
Please contact me to reproduce the error.




-- 
Edit bug report at http://bugs.php.net/?id=46173&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=46173&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=46173&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=46173&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=46173&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=46173&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=46173&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=46173&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=46173&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=46173&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=46173&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=46173&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=46173&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=46173&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=46173&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=46173&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=46173&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=46173&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=46173&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=46173&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=46173&r=mysqlcfg

Reply via email to