ID: 22840 Updated by: [EMAIL PROTECTED] Reported By: chair123 at 163 dot net -Status: Open +Status: Bogus Bug Type: Session related Operating System: win2000pro PHP Version: 4.3.1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. header("Location: somefile.php"); is invalid anyway.. Previous Comments: ------------------------------------------------------------------------ [2003-03-24 04:55:35] chair123 at 163 dot net got the problem... If I use echo "<script> window.location.href='chksession.php' </script>"; instead of header(��location: chksession.php"), that's all right. It must be a bug in win2000pro ------------------------------------------------------------------------ [2003-03-24 02:27:42] chair123 at 163 dot net 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 this bug report at http://bugs.php.net/?id=22840&edit=1
