sessions: here I come!
Posted: Tue Jul 08, 2003 1:53 am
Hi
I am figuring sessions (and php
), but already something doesn't work. my one file ses1.phtml is:
<?php
session_start();
$_SESSION['name'] = 'TheName';
echo '<a href="ses2.phtml">GOTO</a>';
?>
and ses2.phtml is:
<?php
session_start();
echo $_SESSION['name'];
?>
why don't I get an output in ses2.phtml?
tx
I am figuring sessions (and php
<?php
session_start();
$_SESSION['name'] = 'TheName';
echo '<a href="ses2.phtml">GOTO</a>';
?>
and ses2.phtml is:
<?php
session_start();
echo $_SESSION['name'];
?>
why don't I get an output in ses2.phtml?
tx