|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-09-05 18:51 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 02:00:02 2025 UTC |
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...