From:             chair123 at 163 dot net
Operating system: win2000pro
PHP version:      4.3.1
PHP Bug Type:     Session related
Bug description:  session file won't be deleted when session_destroy used

session.php
<?php
  $Access = "999999"; 
  $UserID = "Chair";
  session_start();
  session_register("Access");
  session_register("UserID");
  header (Location: chksession.php);

?>

chksession.php

<?php
  session_start();
  session_register("Access");
  session_register("UserID");
  echo $Access;
  echo $UserID;
  session_unset;
  session_destroy;
 
?>

 when I type http://127.0.0.1/session.php in IE frist, It's nothing in the
screen. NO session file in directory c:\php\sessiondata.
I typed in second time, it 's "99999Chair" in the screen(the same IE). and
sess_7e2ebd21da6d67c7e9f3860ae7c60a6 file in there. and whatever you chang
your php file , the session file never been removed! and I put the php
file in redhat 8.0, all is right. please give me a hand.




-- 
Edit bug report at http://bugs.php.net/?id=22840&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22840&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22840&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22840&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22840&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22840&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22840&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22840&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22840&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22840&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22840&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22840&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22840&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22840&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22840&r=gnused

Reply via email to