Can someone tell me why I can't have
$_SESSION['foo'] = 'content of foo';
following by
header('Location: http://www.mysite.com');
Someone from www.php.net told me that it can confuse
browser (http://bugs.php.net/19991). But, still I
can't the idea why it can happen. Does register
session means
/login.php');
exit();
}
?
When I try this code with an authenticated user, it seemed browser don't redirect to
the page I specify above. The progress bar looked like searching something then it led
to an error. I don't know why this could happen.
Am I missing something?
Thank you.
huge junk mail
2 matches
Mail list logo