Bug #18461 Updated: No Sessions save

From: Date: Tue, 23 Jul 2002 00:57:57 +0000
Subject: Bug #18461 Updated: No Sessions save
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14821@lists.php.net to get a copy of this message
ID: 18461 Updated by: sniper@php.net Reported By: Streamer2000@gmx.de -Status: Open +Status: Bogus Bug Type: Session related Operating System: Windows 2000 PHP Version: 4.2.1 New Comment: setting a save path like that will never work.. It has nothing to do with the session_name() Previous Comments: ------------------------------------------------------------------------ [2002-07-22 12:29:45] Streamer2000@gmx.de The problem is solved! Since Im no longer using the session_name("ID"); function everything works fine... ------------------------------------------------------------------------ [2002-07-21 15:03:58] Streamer2000@gmx.de The script is: session_name("ID"); session_save_path("sessions"); session_start(); session_write_close(); if ( !isset($username) ) session_destroy(); first error for session_write_close(): Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (sessions) in c:\server\xmlbb\board.php on line 6 second error for session_destroy(): Warning: Trying to destroy uninitialized session in c:\server\xmlbb\board.php on line 7 With an earlier version of php the script was running fine. Now with php 4.2.1 i get these errors. The Apache Server version is 1.3.26 my server info: http://visiontec.homeip.net the script on my server: http://visiontec.homeip.net/xmlbb/board.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18461&edit=1

« previous php.bugs (#14821) next »