From: thxmike at hotpop dot com Operating system: Windows 2000 Professional PHP version: 4.3.3 PHP Bug Type: Session related Bug description: Sessions and Framesets
Description: ------------ I am trying to use sessions in a frameset. When I change the page using a link from another frame the $_SESSION is unavailable. I am not certain if the $_SESSION is available in all frames. It does not appear so. I though the session is available until the browser closes. Reproduce code: --------------- Page 1: include('class/adodb/adodb.inc.php'); include('class/Hotel/hotel.php'); include('class/DatabaseObject/DatabaseObject.php'); session_start(); $_SESSION['temporary'] ='temporary'; Second page include('class/adodb/adodb.inc.php'); include('class/Hotel/hotel.php'); include('class/DatabaseObject/DatabaseObject.php'); session_start(); print_r ($_SESSION); Expected result: ---------------- Array ( [temporary] => temporary ) Actual result: -------------- Array() -- Edit bug report at http://bugs.php.net/?id=25906&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25906&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25906&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25906&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25906&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25906&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25906&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25906&r=support Expected behavior: http://bugs.php.net/fix.php?id=25906&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25906&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25906&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25906&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25906&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25906&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25906&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25906&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25906&r=float