From:             neo_in_matrix at msn dot com
Operating system: Windows XP PRO/SP2
PHP version:      5.0.4
PHP Bug Type:     Session related
Bug description:  Session file not deleted when php-win exits

Description:
------------
Though it is a bit strange for me to find that php-win also has session
support ($_SESSION), but it is even more strange for to find that when
php-win exits, the session file is not deleted.


Reproduce code:
---------------
This is what I have in php.ini in %windir%:
session.save_path = "d:/temp/apache/session"

And my simple script is like this:
$_SESSION['test'] = 123;


Expected result:
----------------
This script creates a session file (such as
sess_b003da224c2d5c1d50a9a8c95725ddca) in d:/temp/apache/session.

When the script terminates, I think php-win should delete the create
session file, since it is not like php-cgi that has a session timeout.
Once a script terminates, its session should be considered 'destroyed'.


Actual result:
--------------
Session file is not deleted.

-- 
Edit bug report at http://bugs.php.net/?id=33271&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33271&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33271&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33271&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33271&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33271&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33271&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33271&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33271&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33271&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33271&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33271&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33271&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33271&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33271&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33271&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33271&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33271&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33271&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33271&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33271&r=mysqlcfg

Reply via email to