ID: 25881 Updated by: [EMAIL PROTECTED] Reported By: adriano at steelconsultoria dot com dot br -Status: Open +Status: Feedback Bug Type: Session related Operating System: Windows 2000 PHP Version: 4.3.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-10-15 10:01:31] adriano at steelconsultoria dot com dot br Description: ------------ I´m using Win2K + IIS. I call my script like that: http://localhost/test.php?id=2 And the script is: <? session_start(); $_SESSION['id'] = $_GET['id']; Header("Location: test2.php"); ?> In the test2.php I have: <? session_start(); if (!$_SESSION['id']) { Header('Location: error.php'); } else { echo 'OK'; } ?> So when I call the script for the first time it calls the error.php Then I call again through IE and it works. With Apache it works correctly... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25881&edit=1