#46778 [NEW]: Data cannot be saved in session file.
| From: | yanan at joit dot com | Date: | Sat, 06 Dec 2008 09:06:35 +0000 |
| Subject: | #46778 [NEW]: Data cannot be saved in session file. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-131669@lists.php.net to get a copy of this message | ||
From: yanan at joit dot com
Operating system: Linux
PHP version: 5.2.7
PHP Bug Type: Session related
Bug description: Data cannot be saved in session file.
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 bug report at http://bugs.php.net/?id=46778&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46778&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46778&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46778&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46778&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46778&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46778&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46778&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46778&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46778&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46778&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46778&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46778&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46778&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46778&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46778&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46778&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46778&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46778&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46778&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46778&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46778&r=mysqlcfg