ID: 19991 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: HTTP related Operating System: Windows 98SE PHP Version: 4.2.1 New Comment:
Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2002-10-19 11:04:37] [EMAIL PROTECTED] I want to make the use of session in PHP (4.2.1) so I try this code... session_start(); $_SESSION['user'] = 'myname'; $_SESSION['password'] = 'mypassword'; which is similar to the following... $user = 'myname'; $password = 'mypassword'; session_start(); session_register('user'); session_register('password'); The problem comes when I add header() function so that the script become... session_start(); $_SESSION['user'] = 'myname'; $_SESSION['password'] = 'mypassword'; header('Location: http://www.mysite.info/member/index.php'); When I try this (on IE 5.5, Windows 98SE; Apache 1.3.26), it didn't take me to the page I specified above. It led to an error message "The requested URL could not be retrieved". I don't meet any solution of that so I think it's a bug. Can anyone help me explaining what's going on? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19991&edit=1
