Ask a Question related to PHP Development, Design and Development.
-
iliaa@php.net #1
#25574 [Opn->Bgs]: empty session.save_path = problem (session.use_only_cookies = 1)
ID: 25574
Updated by: [email]iliaa@php.net[/email]
Reported By: markus dot welsch at suk dot de
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Linux 2.4.22 (Debian 3.0r1)
PHP Version: 4.3.3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
[url]http://www.php.net/manual/[/url] and the instructions on how to report
a bug at [url]http://bugs.php.net/how-to-report.php[/url]
How can you expect sessions to work if PHP cannot safe the
corresponding session data?
Previous Comments:
------------------------------------------------------------------------
[2003-09-17 10:17:20] markus dot welsch at suk dot de
Of course you have to reload after the 1st execution otherwise it's of
no use :-)
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=25574&edit=1[/url]
iliaa@php.net Guest
-
#16263 [Com]: session.start() create new empty session file and not resume existing session
ID: 16263 Comment by: pat at burnttech dot com Reported By: kur at natur dot cuni dot cz Status: No Feedback... -
#25574 [Bgs]: empty session.save_path = problem (session.use_only_cookies = 1)
ID: 25574 User updated by: markus.welsch@suk.de Reported By: markus dot welsch at suk dot de Status: Bogus Bug... -
#25574 [Opn]: empty session.save_path = problem (session.use_only_cookies = 1)
ID: 25574 User updated by: markus.welsch@suk.de Reported By: markus dot welsch at suk dot de Status: Open Bug Type:... -
#25574 [NEW]: empty session.save_path = problem (session.use_only_cookies = 1)
From: markus dot welsch at suk dot de Operating system: Linux 2.4.22 (Debian 3.0r1) PHP version: 4.3.3 PHP Bug Type: Session... -
#24781 [Opn->Bgs]: Security lapse due to flaw in session.use_only_cookies
ID: 24781 Updated by: iliaa@php.net Reported By: spagmoid at yahoo dot com -Status: Open +Status: ...



Reply With Quote

