#46778 [Opn->Bgs]: Data cannot be saved in session file.
| From: | jani@php.net | Date: | Mon, 08 Dec 2008 10:41:53 +0000 |
| Subject: | #46778 [Opn->Bgs]: Data cannot be saved in session file. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131735@lists.php.net to get a copy of this message | ||
ID: 46778
Updated by: jani@php.net
Reported By: yanan at joit dot com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Linux
PHP Version: 5.2.7
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:
------------------------------------------------------------------------
[2008-12-06 09:06:35] yanan at joit dot com
Description:
------------
Normal session file can be generated in session.save_path,but the
length of all session files is 0.No session data can be saved in session
file.
The following is my phpinfo():
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php /var/lib/php
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
I'm sure the Directory session.save_path is writable(it's tested using
PHP Function 'is_writable').
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46778&edit=1