#38727 [Opn->Bgs]: Session not saving
| From: | tony2001@php.net | Date: | Tue, 05 Sep 2006 18:51:23 +0000 |
| Subject: | #38727 [Opn->Bgs]: Session not saving | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101784@lists.php.net to get a copy of this message | ||
ID: 38727
Updated by: tony2001@php.net
Reported By: kathy dot lessa at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Windows xp pro
PHP Version: 5.1.6
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-09-05 17:59:29] kathy dot lessa at gmail dot com
Description:
------------
I have confirmed that I have writable access to my session save path,
but session variables are still not saved.
Reproduce code:
---------------
ini_set("session.save_path","C:\\WINDOWS\\temp");
session_start();
echo (($sp=ini_get('session.save_path'))?$sp:'Not set<br>');
echo is_writable($sp) ? ' writable<br>':' not writable<br>';
if (!isset($_SESSION['count'])) {
$_SESSION['count'] = 0;
}
else {
$_SESSION['count']++;
}
echo $_SESSION['count'];
?>
Expected result:
----------------
c:\windows\temp writable
0, 1, 2, 3 , 4...
Actual result:
--------------
c:\windows\temp writable
0, 0, 0, 0, 0...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38727&edit=1