From: markus dot welsch at suk dot de
Operating system: Linux 2.4.22 (Debian 3.0r1)
PHP version: 4.3.3
PHP Bug Type: Session related
Bug description: empty session.save_path = problem (session.use_only_cookies = 1)
Description:
------------
When using sessions and having session.save_path to an empty value the
session data won't be saved - even if session.use_only_cookies = 1
When session.save_path is specified it works fine.
Reproduce code:
---------------
<?php
session_name("test");
session_start();
print "Session-ID: ".session_id()."<br>";
print_r($_SESSION);
$_SESSION['test'] = "example";
?>
Expected result:
----------------
Session-ID: c0b505ac52883be84dd9681fc6e84c50
Array ( [test] => example )
Actual result:
--------------
Session-ID: c0b505ac52883be84dd9681fc6e84c50
Array ( )
--
Edit bug report at http://bugs.php.net/?id=25574&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25574&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25574&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25574&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25574&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25574&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25574&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25574&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25574&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25574&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25574&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25574&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25574&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25574&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25574&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25574&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25574&r=float