Posted by stathisgotsis on 06/19/06 11:44
Hello everyone,
I am having a brain fart or something, why won't this work?
test.php:
<?php
session_start();
$_SESSION['username']='test';
header("Location: test2.php");
exit();
?>
and test2.php:
<?php
session_start();
echo $_SESSION['username'];
?>
Any hint appreciated.
Navigation:
[Reply to this message]
|