I hope to write well. Thanks for all for the response.

My appl Apache+PHP in Win32 system use PHP_Session fecture.

The cookies session are store in the path
D:\OPENFEDRA\Apache\htdocs\fedra\sv\src\tmp

The php.ini are fine configurated. all work fine.

Only when I reuse and re-start applicazion (exec apache.exe and qith browser I
call back the main page like : http://localhost:8081/fedra/sv/src/html/home.htm
i have these error:

Warning: unlink() failed (Permission denied) in
C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 10

Warning: Cannot send session cookie - headers already sent by (output started at
C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php:10) in
C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 14

Warning: Cannot send session cache limiter - headers already sent (output
started at C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php:10) in
C:\OPENFEDRA\Apache\htdocs\fedra\sv\src\html\benvenut.php on line 14

The script are this:

<?

 /*        session_start();
         session_destroy();*/
     $handle = opendir($FolderTmpExt);
     while (false !== ($file = readdir($handle)))
     {
       if ($file != "." && $file != "..")
          {
             unlink ($FolderTmpExt."/".$file);   (line 10)
          }
        }
        closedir($handle);
            session_start();                (line 14)
     include_once ($xPathLibraryExt."functionXpath.php");

External file where i have config of the application call into the script by
pre_append  option in the php.ini

$formPhpExt =  $document_root."/fedra/sv/src/formphp/";
 $srcJsExt = $document_root."/fedra/sv/src/js/";
 $srcPhpExt = $document_root."/fedra/sv/src/php/";
 $srcHtmlExt = $document_root."/fedra/sv/src/html/";
 $FolderTmpExt = $document_root."/fedra/sv/tmp";

The reload of the page of the browser the error do it is lost.

Have clean file session in the path ..../tmp + cache of bwsr but in any case I
have the same error.

I thinks, but i am not sure, it is a problem depending the Apache cache.

Have sameone an idea about this error?

Ciao Franco



Reply via email to