#25574 [Opn]: empty session.save_path = problem (session.use_only_cookies = 1)

From: Date: Wed, 17 Sep 2003 14:17:20 +0000
Subject: #25574 [Opn]: empty session.save_path = problem (session.use_only_cookies = 1)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47699@lists.php.net to get a copy of this message
ID: 25574 User updated by: markus.welsch@suk.de Reported By: markus dot welsch at suk dot de Status: Open Bug Type: Session related Operating System: Linux 2.4.22 (Debian 3.0r1) PHP Version: 4.3.3 New Comment: Of course you have to reload after the 1st execution otherwise it's of no use :-) Previous Comments: ------------------------------------------------------------------------ [2003-09-17 10:04:51] markus dot welsch at suk dot de 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 this bug report at http://bugs.php.net/?id=25574&edit=1

« previous php.bugs (#47699) next »