OK, I've been reading these forums all morning and found nothing that would help resolve my problem...
I have two very simple scripts to illustrate what I want to do...
--- test.php ---
<?
session_start();
session_register("var");
$var = "hello";
header("Location: test2.php");
exit();
?>
--- test2.php ---
<?
$var="";
session_start();
echo $var;
?>
----- end -----
It's very simple, isn't it?
Loading test.php should redirect to test2.php and display "hello"...
Well, it works well on a Linux server with apache but on WinNT produces strange things...
The first time I load the script it redirects to test2.php but produces no output ($var is null). If I reload the script test.php it correctly displays "hello"!
As it works fine on apache I guess the difference is either in php.ini or server settings... Can anyone point me to where I should look or what variable to change...
Thanks... marko